2018-03-03 19:46:29 +00:00
language : android
2019-07-27 20:21:40 +00: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-03 19:46:29 +00:00
2018-12-03 08:17:06 +00:00
android :
components :
# Uncomment the lines below if you want to
# use the latest revision of Android SDK Tools
2019-07-24 09:20:14 +00:00
- tools
- platform-tools
2018-12-03 08:17:06 +00:00
# The BuildTools version used by your project
2019-09-03 20:47:17 +00:00
- build-tools-29.0.2
2018-12-03 08:17:06 +00:00
# The SDK version used to compile your project
2019-09-03 20:22:27 +00:00
- android-29
2018-12-03 08:17:06 +00:00
2018-03-03 19:46:29 +00:00
jdk :
- oraclejdk8
2018-03-03 21:30:27 +00:00
before_install :
2018-03-03 20:07:46 +00:00
- chmod +x gradlew
2018-03-03 19:46:29 +00:00
before_cache :
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
2018-12-02 13:03:18 +00:00
2018-03-03 19:46:29 +00:00
cache :
directories :
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
- $HOME/.android/build-cache