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