[Android] buildsystem: always verify gradlew is usable

Steve Lhomme git at videolan.org
Tue Jul 1 07:34:50 UTC 2025


vlc-android | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Tue Jun 24 08:18:58 2025 +0200| [69950bbe906c8c4dfe26ae46ab93ee0c887f2451] | committer: Steve Lhomme

buildsystem: always verify gradlew is usable

> https://code.videolan.org/videolan/vlc-android/commit/69950bbe906c8c4dfe26ae46ab93ee0c887f2451
---

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

diff --git a/buildsystem/compile.sh b/buildsystem/compile.sh
index 700a6118e9..21e752b9df 100755
--- a/buildsystem/compile.sh
+++ b/buildsystem/compile.sh
@@ -270,9 +270,9 @@ if [ ! -d "gradle/wrapper" ]; then
     ./gradle-${GRADLE_VERSION}/bin/gradle wrapper ${gradle_prop} || fail "gradle: wrapper failed"
 
     chmod a+x gradlew
-    ./gradlew -version || fail "gradle: wrapper failed"
     rm -rf gradle-${GRADLE_VERSION}-bin.zip
 fi
+./gradlew -version || fail "gradle: wrapper failed"
 
 ####################
 # Fetch VLC source #



More information about the Android mailing list