[Android] Upgrade gradle to v3.4 and use bin only

Geoffrey Métais git at videolan.org
Thu Mar 2 09:49:34 CET 2017


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Mar  2 09:48:01 2017 +0100| [238047ac54c8cf40ae0b1d2f451933422355cb15] | committer: Geoffrey Métais

Upgrade gradle to v3.4 and use bin only

> https://code.videolan.org/videolan/vlc-android/commit/238047ac54c8cf40ae0b1d2f451933422355cb15
---

 compile.sh | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/compile.sh b/compile.sh
index decb3dd..bdceba8 100755
--- a/compile.sh
+++ b/compile.sh
@@ -107,12 +107,12 @@ fi
 
 if [ ! -d "gradle/wrapper" ]; then
     diagnostic "Downloading gradle"
-    GRADLE_VERSION=3.3
-    GRADLE_URL=https://download.videolan.org/pub/contrib/gradle/gradle-${GRADLE_VERSION}-all.zip
+    GRADLE_VERSION=3.4
+    GRADLE_URL=https://download.videolan.org/pub/contrib/gradle/gradle-${GRADLE_VERSION}-bin.zip
     wget ${GRADLE_URL} 2>/dev/null || curl -O ${GRADLE_URL}
     checkfail "gradle: download failed"
 
-    unzip -o gradle-${GRADLE_VERSION}-all.zip
+    unzip -o gradle-${GRADLE_VERSION}-bin.zip
     checkfail "gradle: unzip failed"
 
     cd gradle-${GRADLE_VERSION}
@@ -127,7 +127,7 @@ if [ ! -d "gradle/wrapper" ]; then
     mv gradle-${GRADLE_VERSION}/gradle/wrapper/ gradle
     mv gradle-${GRADLE_VERSION}/gradlew .
     chmod a+x gradlew
-    rm -rf gradle-${GRADLE_VERSION}-all.zip
+    rm -rf gradle-${GRADLE_VERSION}-bin.zip
 fi
 
 ####################



More information about the Android mailing list