diff --git a/.travis.yml b/.travis.yml index 43c8c15..3768ea6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,6 +15,7 @@ script: cache: directories: - $HOME/.m2 + - BuildTools deploy: provider: releases diff --git a/BuildTools/build.sh b/BuildTools/build.sh index 631dcb9..0aaf44e 100644 --- a/BuildTools/build.sh +++ b/BuildTools/build.sh @@ -1,9 +1,6 @@ #!/bin/sh echo "Checking BuildTools cache" -#Download BuildTools jar -curl -o BuildTools.jar https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar - #Local Maven Repo MAVEN_DIR="$HOME/.m2" @@ -13,6 +10,8 @@ CRAFTBUKKIT="${MAVEN_DIR}/repository/org/bukkit/craftbukkit" #Versions array=("1.16.1" "1.15.2" "1.14.4") +#Download BuildTools jar +curl -s -o BuildTools.jar https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar for i in "${array[@]}" do