Enable Travis CI Gradle dependency caching

Per https://docs.travis-ci.com/user/languages/java/#Caching
This commit is contained in:
Chris Beams 2018-03-22 11:26:55 +01:00
parent 96207654d0
commit 92ec88f1fc
No known key found for this signature in database
GPG Key ID: 3D214F8F5BC5ED73

View File

@ -1,5 +1,12 @@
language: java
jdk: oraclejdk8
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/
notifications:
slack:
on_success: change