From f9181b85f953b528590cc71cb589947447dcb42a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=AD?= Date: Tue, 1 Sep 2015 11:31:21 -0700 Subject: [PATCH] Install all android sdk packages at once Spotted by Hans at fdroidserver. The 'update sdk' tool will download the package index at each run, so installing one package at a time will be rather inefficient. --- .gitlab-ci.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 25c2e4022..2c7690015 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -11,11 +11,7 @@ before_script: - export ANDROID_HOME=$PWD/android-sdk - export PATH="$ANDROID_HOME/tools:$PATH" - echo " == Installing Android SDK components" - - echo y | android -s update sdk --no-ui -a -t platform-tools - - echo y | android -s update sdk --no-ui -a -t tools - - echo y | android -s update sdk --no-ui -a -t build-tools-23.0.0 - - echo y | android -s update sdk --no-ui -a -t android-22 - - echo y | android -s update sdk --no-ui -a -t extra-android-m2repository + - echo y | android -s update sdk --no-ui -a -t platform-tools,tools,build-tools-23.0.0,android-22,extra-android-m2repository - echo " == Installing Gradle" - wget -q -O gradle.zip https://services.gradle.org/distributions/gradle-2.4-bin.zip - unzip -q gradle.zip