mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-13 22:42:29 +03:00
buildserver: allow gradle to install newer build-tools versions
gradle will now automatically download and install missing bits of the Android SDK. While we prefer to have the SDK packages fully verified, we should allow this behavior on the buildserver to ensure that builds work even when the buildserver can't be updated. Since each build starts from a clean snapshot, this auto-installed build-tools will only be used for the single build, so it won't affect other apps.
This commit is contained in:
parent
590160d766
commit
3e895eadd2
1 changed files with 4 additions and 0 deletions
|
@ -81,3 +81,7 @@ echo y | $ANDROID_HOME/tools/bin/sdkmanager "extras;m2repository;com;android;sup
|
|||
|
||||
chmod -R a+rX $ANDROID_HOME/
|
||||
find $ANDROID_HOME/ -type f -executable -print0 | xargs -0 chmod a+x
|
||||
|
||||
# allow gradle to install newer build-tools versions
|
||||
chgrp vagrant $ANDROID_HOME/build-tools
|
||||
chmod g+w $ANDROID_HOME/build-tools
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue