2019-07-09 19:22:24 +02:00
|
|
|
dist: trusty
|
2019-09-19 16:19:44 +02:00
|
|
|
|
|
|
|
jdk:
|
|
|
|
- openjdk11
|
|
|
|
|
2018-11-12 03:18:36 +01:00
|
|
|
language: android
|
|
|
|
android:
|
|
|
|
components:
|
2020-09-09 21:46:30 +02:00
|
|
|
- build-tools-30.0.2
|
|
|
|
- android-30
|
2019-07-26 11:41:45 +02:00
|
|
|
|
|
|
|
licenses:
|
|
|
|
- android-sdk-license-.+
|
|
|
|
- '.+'
|
|
|
|
|
|
|
|
before_install:
|
|
|
|
- mkdir "$ANDROID_HOME/licenses" || true
|
|
|
|
- echo -e "\n8933bad161af4178b1185d1a37fbf41ea5269c55" >> "$ANDROID_HOME/licenses/android-sdk-license"
|
|
|
|
- echo -e "\nd56f5187479451eabf01fb78af6dfcb131a6481e" >> "$ANDROID_HOME/licenses/android-sdk-license"
|
|
|
|
- echo -e "\n24333f8a63b6825ea9c5514f83c2829b004d1fee" >> "$ANDROID_HOME/licenses/android-sdk-license"
|
|
|
|
- echo -e "\n84831b9409646a918e30573bab4c9c91346d8abd" >> "$ANDROID_HOME/licenses/android-sdk-preview-license"
|
|
|
|
|
|
|
|
before_cache:
|
|
|
|
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
|
|
|
|
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
|
|
|
|
|
2020-10-09 21:21:41 +02:00
|
|
|
script: ./gradlew compileDebugAndroidTestSources check assemble ktlintCheck
|
2019-08-06 08:16:37 +02:00
|
|
|
|
2019-07-26 11:41:45 +02:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $HOME/.gradle/caches/
|
|
|
|
- $HOME/.gradle/wrapper/
|
|
|
|
- $HOME/.android/build-cache
|