mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-13 22:42:29 +03:00
buildserver: allow gradle/sdkmanager to install new platforms
Google releases new API SDKs quite rarely (about 2 times a year), but when they do this, many apps quickly start using it. Allow downloading new API SDKs to avoid waiting for the next buildserver rebuild.
This commit is contained in:
parent
1ae4bd77b2
commit
358fedc611
1 changed files with 3 additions and 3 deletions
|
@ -86,9 +86,9 @@ chgrp vagrant $ANDROID_HOME
|
||||||
chmod g+w $ANDROID_HOME
|
chmod g+w $ANDROID_HOME
|
||||||
find $ANDROID_HOME/ -type f -executable -print0 | xargs -0 chmod a+x
|
find $ANDROID_HOME/ -type f -executable -print0 | xargs -0 chmod a+x
|
||||||
|
|
||||||
# allow gradle to install newer build-tools versions
|
# allow gradle to install newer build-tools and platforms
|
||||||
chgrp vagrant $ANDROID_HOME/build-tools
|
chgrp vagrant $ANDROID_HOME/{build-tools,platforms}
|
||||||
chmod g+w $ANDROID_HOME/build-tools
|
chmod g+w $ANDROID_HOME/{build-tools,platforms}
|
||||||
|
|
||||||
# allow gradle/sdkmanager to install into the new m2repository
|
# allow gradle/sdkmanager to install into the new m2repository
|
||||||
test -d $ANDROID_HOME/extras/m2repository || mkdir -p $ANDROID_HOME/extras/m2repository
|
test -d $ANDROID_HOME/extras/m2repository || mkdir -p $ANDROID_HOME/extras/m2repository
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue