Apktool/scripts/travis-ci/clean-tests.sh
2019-04-24 18:32:26 -04:00

13 lines
318 B
Bash
Executable File

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