From 10f02dbcac812bdc0997928fa1900358c2215cf8 Mon Sep 17 00:00:00 2001 From: yoyosource Date: Fri, 22 Oct 2021 18:24:08 +0200 Subject: [PATCH] Update stuff in build.gradle for better upload management --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 87b87f4..2230e6a 100644 --- a/build.gradle +++ b/build.gradle @@ -123,7 +123,7 @@ if (steamwarProperties.containsKey("hostname")) { doLast { await(shell("scp ${libs}/${jarName} ${hostname}:${uploadPath}/${server}/plugins")) - if (!answer("Start ${server} server?")) { + if (steamwarProperties.getOrDefault("directStart", "false") == "false" && !answer("Start ${server} server?")) { return } serverStart(server, serverStartFlags, hostname) -- 2.39.5