From 4290cdf8c6cd3b0fec4e375048caccd9c77cf025 Mon Sep 17 00:00:00 2001 From: coolGi Date: Tue, 20 Feb 2024 00:51:41 +1030 Subject: [PATCH] Changed run dir to the root of the project --- build.gradle | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/build.gradle b/build.gradle index 0a371783c..ee19ae497 100644 --- a/build.gradle +++ b/build.gradle @@ -114,6 +114,16 @@ subprojects { p -> parchment(parchmentVersionParts[0], parchmentVersionParts[1]) devNamespace "mojmap" } + + runs { + config("client") { + workingDir = rootProject.file("run") + } + config("server") { + workingDir = rootProject.file("run") // TODO: When running the server, would it be a better idea to change this to a different dir? + disabled = true // TODO: Once server-side support is added, remove this + } + } } if (p != project(":common")) {