From d1b0025c4e8323e639c07897d931bd605cbcaac8 Mon Sep 17 00:00:00 2001 From: Connor Tumbleson Date: Wed, 24 Apr 2019 18:32:26 -0400 Subject: [PATCH] fix: correct location of JAVA_HOME --- scripts/travis-ci/clean-tests.sh | 2 +- scripts/travis-ci/run-tests.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/travis-ci/clean-tests.sh b/scripts/travis-ci/clean-tests.sh index 3f7f9172..a6fc81e6 100755 --- a/scripts/travis-ci/clean-tests.sh +++ b/scripts/travis-ci/clean-tests.sh @@ -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 diff --git a/scripts/travis-ci/run-tests.sh b/scripts/travis-ci/run-tests.sh index 49a95faf..247bcee1 100755 --- a/scripts/travis-ci/run-tests.sh +++ b/scripts/travis-ci/run-tests.sh @@ -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