Apktool/scripts/travis-ci/run-tests.sh

12 lines
330 B
Bash
Raw Normal View History

#!/usr/bin/env sh
2019-07-13 14:26:45 +02:00
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"
2019-04-25 00:32:26 +02:00
export JAVA_HOME="/c/Program Files/Java/jdk1.8.0_211"
./gradlew.bat build shadowJar proguard
else
./gradlew build shadowJar proguard
fi
exit $?