diff --git a/scripts/travis-ci/run-tests.sh b/scripts/travis-ci/run-tests.sh index 114d7c2f..49a95faf 100755 --- a/scripts/travis-ci/run-tests.sh +++ b/scripts/travis-ci/run-tests.sh @@ -3,6 +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" ./gradlew.bat build shadowJar proguard else ./gradlew build shadowJar proguard