2018-03-04 02:46:29 +07:00
language : android
2019-07-28 03:21:40 +07:00
dist : trusty # For oracleJDK fail errors, as per advice from https://travis-ci.community/t/error-installing-oraclejdk8-expected-feature-release-number-in-range-of-9-to-14-but-got-8/3766/6
2018-03-04 02:46:29 +07:00
2018-12-03 15:17:06 +07:00
android :
components :
# Uncomment the lines below if you want to
# use the latest revision of Android SDK Tools
2019-07-24 16:20:14 +07:00
- tools
- platform-tools
2018-12-03 15:17:06 +07:00
# The BuildTools version used by your project
2019-09-04 03:47:17 +07:00
- build-tools-29.0.2
2018-12-03 15:17:06 +07:00
# The SDK version used to compile your project
2019-09-04 03:22:27 +07:00
- android-29
2018-12-03 15:17:06 +07:00
2018-03-04 02:46:29 +07:00
jdk :
- oraclejdk8
2018-03-04 04:30:27 +07:00
before_install :
2018-03-04 03:07:46 +07:00
- chmod +x gradlew
2018-03-04 02:46:29 +07:00
before_cache :
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
2018-12-02 20:03:18 +07:00
2018-03-04 02:46:29 +07:00
cache :
directories :
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
- $HOME/.android/build-cache