Make travis cache gradle dependencies

This commit is contained in:
Runemoro 2018-04-20 16:40:52 -04:00
parent 697a64efbb
commit 918cec3cf5

View file

@ -3,6 +3,14 @@ notifications:
email: false
if: tag IS blank
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/
before_install: chmod +x gradlew
install: "./gradlew setupCIWorkspace"
script: "./gradlew clean build"