Skip to content

Commit

Permalink
Add Gradle dependency caching
Browse files Browse the repository at this point in the history
  • Loading branch information
Polyr committed Apr 8, 2018
1 parent 13e5ce1 commit 6c70733
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 6c70733

Please sign in to comment.