From baeae862ad15df19c430cb4e9d806e94f3b59dec Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Wed, 22 Mar 2017 10:59:44 +0100 Subject: [PATCH] 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 --- buildserver/provision-android-sdk | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.30.2