@@ -8,10 +8,9 @@ notifications:
8
8
9
9
env :
10
10
matrix :
11
- - ANDROID_TARGET=android-19 ANDROID_ABI=armeabi-v7a
12
- - ANDROID_TARGET=android-21 ANDROID_ABI=armeabi-v7a
11
+ - ADB_INSTALL_TIMEOUT=15 ANDROID_BUILD_TOOLS_VERSION=25.0.2 ANDROID_API_LEVEL=25 ANDROID_ABI=armeabi-v7a ANDROID_TAG=google_apis
13
12
global :
14
- - ADB_INSTALL_TIMEOUT=10 # Time out to 10 mins
13
+ - GRADLE_OPTS="-Xmx512m"
15
14
16
15
before_cache :
17
16
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
@@ -27,22 +26,18 @@ android:
27
26
components :
28
27
- platform-tools
29
28
- tools
30
- - build-tools-25.0.1
31
- - android-25
32
-
33
- # Additional components
29
+ - build-tools-$ANDROID_BUILD_TOOLS_VERSION
30
+ - android-$ANDROID_API_LEVEL
31
+ - addon-$ANDROID_TAG-google-$ANDROID_API_LEVEL
34
32
- extra-google-google_play_services
35
33
- extra-google-m2repository
36
34
- extra-android-m2repository
35
+ - sys-img-armeabi-v7a-$ANDROID_TARGET
37
36
38
- # system images
39
- - sys-img-armeabi-v7a-android-19
40
- - sys-img-armeabi-v7a-android-21
41
-
42
- licenses :
43
- - ' android-sdk-preview-license-52d11cd2'
44
- - ' android-sdk-license-.+'
45
- - ' google-gdk-license-.+'
37
+ # licenses:
38
+ # - 'android-sdk-preview-license-52d11cd2'
39
+ # - 'android-sdk-license-.+'
40
+ # - 'google-gdk-license-.+'
46
41
47
42
before_script :
48
43
- chmod +x gradlew # Grand permissions
0 commit comments