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