[Android] compile.sh: Don't re-download gradle

Hugo Beauzée-Luyssen git at videolan.org
Fri Dec 29 11:16:23 CET 2017


vlc-android | branch: 2.5.x | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Fri Dec 29 10:25:30 2017 +0100| [42088c60a5d7bdd751ea23412ffa5221c7c09ad4] | committer: Geoffrey Métais

compile.sh: Don't re-download gradle

(cherry picked from commit feff65950cfb8101d442ace3599040e8d5f98f29)

> https://code.videolan.org/videolan/vlc-android/commit/42088c60a5d7bdd751ea23412ffa5221c7c09ad4
---

 compile.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/compile.sh b/compile.sh
index d55d38174..8659b50b8 100755
--- a/compile.sh
+++ b/compile.sh
@@ -126,7 +126,7 @@ if [ ! -d "gradle/wrapper" ]; then
 
     cd gradle-${GRADLE_VERSION}
 
-    ./bin/gradle wrapper
+    ./bin/gradle --offline wrapper
     checkfail "gradle: wrapper failed"
 
     ./gradlew -version



More information about the Android mailing list