fix: correct location of JAVA_HOME

This commit is contained in:
Connor Tumbleson 2019-04-24 18:32:26 -04:00
parent cf9e8662b8
commit d1b0025c4e
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then
export GRADLE_OPTS=-Dorg.gradle.daemon=false
choco install jdk8
export PATH=$PATH:"/c/Program Files/Java/jdk1.8.0_211/bin"
export JAVA_HOME="/c/Program Files/Java/jdk1.8.0_211/bin"
export JAVA_HOME="/c/Program Files/Java/jdk1.8.0_211"
./gradlew.bat clean
else
./gradlew clean

View File

@ -3,7 +3,7 @@
if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then
export GRADLE_OPTS=-Dorg.gradle.daemon=false
export PATH=$PATH:"/c/Program Files/Java/jdk1.8.0_211/bin"
export JAVA_HOME="/c/Program Files/Java/jdk1.8.0_211/bin"
export JAVA_HOME="/c/Program Files/Java/jdk1.8.0_211"
./gradlew.bat build shadowJar proguard
else
./gradlew build shadowJar proguard