mirror of
https://github.com/revanced/Apktool.git
synced 2024-12-05 02:22:55 +01:00
fix: correct location of JAVA_HOME
This commit is contained in:
parent
cf9e8662b8
commit
d1b0025c4e
@ -4,7 +4,7 @@ if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then
|
|||||||
export GRADLE_OPTS=-Dorg.gradle.daemon=false
|
export GRADLE_OPTS=-Dorg.gradle.daemon=false
|
||||||
choco install jdk8
|
choco install jdk8
|
||||||
export PATH=$PATH:"/c/Program Files/Java/jdk1.8.0_211/bin"
|
export PATH=$PATH:"/c/Program Files/Java/jdk1.8.0_211/bin"
|
||||||
export JAVA_HOME="/c/Program Files/Java/jdk1.8.0_211/bin"
|
export JAVA_HOME="/c/Program Files/Java/jdk1.8.0_211"
|
||||||
./gradlew.bat clean
|
./gradlew.bat clean
|
||||||
else
|
else
|
||||||
./gradlew clean
|
./gradlew clean
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then
|
if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then
|
||||||
export GRADLE_OPTS=-Dorg.gradle.daemon=false
|
export GRADLE_OPTS=-Dorg.gradle.daemon=false
|
||||||
export PATH=$PATH:"/c/Program Files/Java/jdk1.8.0_211/bin"
|
export PATH=$PATH:"/c/Program Files/Java/jdk1.8.0_211/bin"
|
||||||
export JAVA_HOME="/c/Program Files/Java/jdk1.8.0_211/bin"
|
export JAVA_HOME="/c/Program Files/Java/jdk1.8.0_211"
|
||||||
./gradlew.bat build shadowJar proguard
|
./gradlew.bat build shadowJar proguard
|
||||||
else
|
else
|
||||||
./gradlew build shadowJar proguard
|
./gradlew build shadowJar proguard
|
||||||
|
Loading…
Reference in New Issue
Block a user