2018-03-03 19:46:29 +00:00
|
|
|
language: android
|
|
|
|
|
|
|
|
jdk:
|
|
|
|
- oraclejdk8
|
|
|
|
|
2018-03-03 20:07:46 +00:00
|
|
|
before_install:
|
|
|
|
- chmod +x gradlew
|
|
|
|
|
2018-03-03 19:46:29 +00:00
|
|
|
install:
|
|
|
|
- echo yes | sdkmanager "tools" &>/dev/null
|
|
|
|
- echo yes | sdkmanager "platform-tools" &>/dev/null
|
|
|
|
- echo yes | sdkmanager "build-tools;26.0.2" &>/dev/null
|
|
|
|
- echo yes | sdkmanager "platforms;android-26" &>/dev/null
|
|
|
|
|
|
|
|
sudo: false
|
|
|
|
|
|
|
|
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
|