From: Hans-Christoph Steiner Date: Wed, 22 Mar 2017 09:59:44 +0000 (+0100) Subject: buildserver: allow gradle to install new components X-Git-Tag: 0.8~84^2~5 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=baeae862ad15df19c430cb4e9d806e94f3b59dec;p=fdroidserver.git buildserver: allow gradle to install new components Google is making gradle automatically download Android SDK components that are needed by the build, but not already present. We need to support that since it would be a lot of work to fight it. Plus, since each build starts from the fresh snapshot, it should not be such a big deal to let each build install stuff during the process. closes #268 --- diff --git a/buildserver/provision-android-sdk b/buildserver/provision-android-sdk index e5a4202a..54f89cb6 100644 --- a/buildserver/provision-android-sdk +++ b/buildserver/provision-android-sdk @@ -82,6 +82,8 @@ echo y | $ANDROID_HOME/tools/bin/sdkmanager "extras;m2repository;com;android;sup echo y | $ANDROID_HOME/tools/bin/sdkmanager "extras;m2repository;com;android;support;constraint;constraint-layout-solver;1.0.2" chmod -R a+rX $ANDROID_HOME/ +chgrp vagrant $ANDROID_HOME +chmod g+w $ANDROID_HOME find $ANDROID_HOME/ -type f -executable -print0 | xargs -0 chmod a+x # allow gradle to install newer build-tools versions