2015-10-02 01:28:33 +00:00
|
|
|
language: android
|
|
|
|
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
|
2018-01-01 20:18:16 +00:00
|
|
|
- platform-tools
|
|
|
|
- build-tools-27.0.3
|
|
|
|
- android-27
|
2015-11-17 20:37:26 +00:00
|
|
|
- extra-android-m2repository
|
2018-01-01 20:18:16 +00:00
|
|
|
before_install:
|
|
|
|
- yes | sdkmanager "platforms;android-27"
|
|
|
|
|