2018-03-08 15:39:06 +01:00
|
|
|
language: android
|
2018-03-13 16:06:34 +01:00
|
|
|
java: oraclejdk8
|
2019-05-20 19:51:06 +02:00
|
|
|
|
2020-12-09 09:00:47 +01:00
|
|
|
before_install:
|
|
|
|
- yes | sdkmanager "platforms;android-30"
|
|
|
|
- yes | sdkmanager "build-tools;30.0.2"
|
|
|
|
|
2019-05-20 19:51:06 +02:00
|
|
|
before_cache:
|
|
|
|
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
|
|
|
|
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
|
|
|
|
|
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $HOME/.gradle/caches/
|
|
|
|
- $HOME/.gradle/wrapper/
|
|
|
|
- $HOME/.android/build-cache
|
|
|
|
|
2018-03-08 15:39:06 +01:00
|
|
|
android:
|
2019-05-20 19:51:06 +02:00
|
|
|
components:
|
2018-03-08 15:39:06 +01:00
|
|
|
- tools
|
|
|
|
- platform-tools
|
2020-12-08 21:39:03 +01:00
|
|
|
- build-tools-30.0.2
|
|
|
|
- android-30
|
2018-03-08 15:39:06 +01:00
|
|
|
- extra-m2-repository
|
2019-01-09 16:42:55 +01:00
|
|
|
- sys-img-armeabi-v7a-android-28
|
2018-03-08 17:32:39 +01:00
|
|
|
|
2018-03-14 21:21:57 +01:00
|
|
|
|
|
|
|
script:
|
|
|
|
- ./gradlew assembleDebug
|
2019-05-20 19:58:49 +02:00
|
|
|
- ./gradlew test
|