2015-10-02 03:36:08 +02:00
|
|
|
language: android
|
|
|
|
git:
|
|
|
|
submodules: false
|
|
|
|
before_install:
|
|
|
|
- git submodule update --init --recursive
|
|
|
|
script:
|
2016-09-24 21:00:24 +02:00
|
|
|
- export JAVA_OPTS="-XX:+CMSClassUnloadingEnabled -XX:+HeapDumpOnOutOfMemoryError -Xmx2048m"
|
2015-10-02 03:36:08 +02:00
|
|
|
- export TERM=dumb
|
2016-09-24 21:00:24 +02:00
|
|
|
- echo sdk.dir $ANDROID_HOME > local.properties
|
|
|
|
- jdk_switcher use oraclejdk8
|
|
|
|
- ./gradlew assemble
|
2015-10-02 03:36:08 +02:00
|
|
|
android:
|
|
|
|
components:
|
2016-04-14 22:12:15 +02:00
|
|
|
- tools
|
2016-11-14 20:26:09 +01:00
|
|
|
- build-tools-24.0.3
|
2016-09-24 21:00:24 +02:00
|
|
|
- android-24
|
2016-04-14 22:12:15 +02:00
|
|
|
- extra-android-m2repository
|
|
|
|
before_cache:
|
|
|
|
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
|
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $HOME/.gradle/caches/
|
|
|
|
- $HOME/.gradle/wrapper/
|