Apktool/scripts/travis-ci/run-tests.sh
Connor Tumbleson 813cd911f2 build: update jdk path for windows
- need an automated solution for this
2019-04-24 18:12:43 -04:00

11 lines
275 B
Bash
Executable File

#!/usr/bin/env sh
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"
./gradlew.bat build shadowJar proguard
else
./gradlew build shadowJar proguard
fi
exit $?