Make travis cache gradle dependencies
This commit is contained in:
parent
697a64efbb
commit
918cec3cf5
1 changed files with 8 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue