[Android] buildsystem: remove gradle zip right after unpacking
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:19:25 2025 +0200| [ed92d31a1d09a6595ec7de5c3aa294df62cf3c47] | committer: Steve Lhomme
buildsystem: remove gradle zip right after unpacking
> https://code.videolan.org/videolan/vlc-android/commit/ed92d31a1d09a6595ec7de5c3aa294df62cf3c47
---
buildsystem/compile.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/buildsystem/compile.sh b/buildsystem/compile.sh
index 21e752b9df..460001320b 100755
--- a/buildsystem/compile.sh
+++ b/buildsystem/compile.sh
@@ -266,11 +266,11 @@ if [ ! -d "gradle/wrapper" ]; then
echo $GRADLE_SHA256 gradle-${GRADLE_VERSION}-bin.zip | sha256sum -c || fail "gradle: hash mismatch"
unzip -o gradle-${GRADLE_VERSION}-bin.zip || fail "gradle: unzip failed"
+ rm -rf gradle-${GRADLE_VERSION}-bin.zip
./gradle-${GRADLE_VERSION}/bin/gradle wrapper ${gradle_prop} || fail "gradle: wrapper failed"
chmod a+x gradlew
- rm -rf gradle-${GRADLE_VERSION}-bin.zip
fi
./gradlew -version || fail "gradle: wrapper failed"
More information about the Android
mailing list