diff --git a/.travis.yml b/.travis.yml index ed2abf26c0..1c83f08631 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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