mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
Add run configuration to make things easier
This commit is contained in:
parent
eaaba44e05
commit
27fcc932c7
1 changed files with 8 additions and 1 deletions
|
@ -27,3 +27,10 @@ tasks.withType<com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar> {
|
|||
|
||||
transform(Log4j2PluginsCacheFileTransformer())
|
||||
}
|
||||
|
||||
tasks.named<JavaExec>("run") {
|
||||
val dir = projectDir.resolve("run")
|
||||
dir.mkdirs()
|
||||
jvmArgs("-Dio.netty.leakDetection.level=PARANOID")
|
||||
workingDir = dir
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue