2015-08-27 21:46:36 +00:00
|
|
|
language: android
|
2015-10-03 22:15:24 +00:00
|
|
|
sudo: false
|
2015-08-27 21:46:36 +00:00
|
|
|
script:
|
2016-09-25 00:54:25 +00:00
|
|
|
- jdk_switcher use oraclejdk8
|
|
|
|
- echo sdk.dir $ANDROID_HOME > local.properties
|
2015-08-27 21:46:36 +00:00
|
|
|
- export TERM=dumb
|
2016-09-25 00:49:40 +00:00
|
|
|
- export JAVA_OPTS="-XX:+CMSClassUnloadingEnabled -XX:+HeapDumpOnOutOfMemoryError -Xmx2048m"
|
2018-06-13 17:37:49 +00:00
|
|
|
- ./gradlew --stacktrace assemble
|
2015-08-27 21:46:36 +00:00
|
|
|
android:
|
|
|
|
components:
|
2015-11-17 20:57:01 +00:00
|
|
|
- tools
|
2016-11-15 23:52:49 +00:00
|
|
|
- platform-tools
|
2018-01-02 00:45:43 +00:00
|
|
|
- build-tools-27.0.3
|
|
|
|
- android-27
|
2015-11-17 20:57:01 +00:00
|
|
|
- extra-android-m2repository
|
2018-01-02 00:45:43 +00:00
|
|
|
before_install:
|
|
|
|
- yes | sdkmanager "platforms;android-27"
|