mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-12-27 15:00:28 +01: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
|
@ -26,4 +26,11 @@ tasks.withType<com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar> {
|
|||
archiveBaseName.set("Geyser-Standalone")
|
||||
|
||||
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