From d192d843b11c7688d4079bd5d1aa924ffee3be67 Mon Sep 17 00:00:00 2001 From: yoyosource Date: Sun, 11 Apr 2021 10:19:05 +0200 Subject: [PATCH] Add gradle.properties (hostname) --- .gitignore | 1 + build.gradle | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 37a8a33..a660d1a 100644 --- a/.gitignore +++ b/.gitignore @@ -8,6 +8,7 @@ .gradle /build/ !gradle/wrapper/gradle-wrapper.jar +gradle.properties # IntelliJ IDEA .idea diff --git a/build.gradle b/build.gradle index 35f8832..a0a62f0 100644 --- a/build.gradle +++ b/build.gradle @@ -88,11 +88,11 @@ task uploadProject { group "Steamwar" doLast { - shell("scp ${libs}/${jarName} steamwar:~/Dev1.15/plugins") + shell("scp ${libs}/${jarName} ${hostname}:~/Dev1.15/plugins") if (!answer("Start DEV server?")) { return } - shell("ssh steamwar \"./mc Dev1.15\"") + shell("ssh ${hostname} \"./mc Dev1.15\"") } }