Make sure no Tachidesk Gradle Daemon is run

This commit is contained in:
Syer10
2022-01-06 23:37:57 -05:00
parent 963e2fc558
commit 3556ba186a

View File

@@ -129,8 +129,8 @@ fun TaskContainerScope.registerTachideskTasks(project: Project) {
workingDir(tmpServerFolder)
val os = DefaultNativePlatform.getCurrentOperatingSystem()
when {
os.isWindows -> commandLine("cmd", "/c", "gradlew", ":server:shadowJar")
os.isLinux || os.isMacOsX -> commandLine("./gradlew", ":server:shadowJar")
os.isWindows -> commandLine("cmd", "/c", "gradlew", ":server:shadowJar", "--no-daemon")
os.isLinux || os.isMacOsX -> commandLine("./gradlew", ":server:shadowJar", "--no-daemon")
}
}
register<Copy>(copyTachideskJarTask) {