Apktool/scripts/travis-ci/run-tests.sh
2019-08-17 10:32:44 -04:00

13 lines
331 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_221/bin"
export JAVA_HOME="/c/Program Files/Java/jdk1.8.0_221"
./gradlew.bat build shadowJar proguard
else
./gradlew build shadowJar proguard
fi
exit $?