diff --git a/.travis.yml b/.travis.yml index 59a5d5f..570b0b3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,12 @@ language: java before_install: chmod +x gradlew +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/ deploy: provider: releases api_key: $GITHUB_TOKEN