From 27fcc932c76c3660e042f2b09d9422d50e0e2833 Mon Sep 17 00:00:00 2001 From: SupremeMortal <6178101+SupremeMortal@users.noreply.github.com> Date: Thu, 20 Apr 2023 10:46:12 +0100 Subject: [PATCH] Add run configuration to make things easier --- bootstrap/standalone/build.gradle.kts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/bootstrap/standalone/build.gradle.kts b/bootstrap/standalone/build.gradle.kts index 9c2194445..f5aaceab8 100644 --- a/bootstrap/standalone/build.gradle.kts +++ b/bootstrap/standalone/build.gradle.kts @@ -26,4 +26,11 @@ tasks.withType { archiveBaseName.set("Geyser-Standalone") transform(Log4j2PluginsCacheFileTransformer()) -} \ No newline at end of file +} + +tasks.named("run") { + val dir = projectDir.resolve("run") + dir.mkdirs() + jvmArgs("-Dio.netty.leakDetection.level=PARANOID") + workingDir = dir +}