Make Gradle dependency cache shareable in GCB (#479)

* Make Gradle dependency cache shareable in GCB

Make Gradle put its caches in the source tree so that
they can be preserved across steps. When left at their
default location, caches are lost after each step.
This commit is contained in:
Weimin Yu 2020-02-10 11:20:11 -05:00 committed by GitHub
parent 1e97a5050d
commit 79b46001b6
4 changed files with 10 additions and 1 deletions

View file

@ -115,6 +115,7 @@ spotless {
format 'misc', {
clearSteps()
target '**/*.gradle'
targetExclude '**/cloudbuild-caches/**'
trimTrailingWhitespace()
indentWithSpaces(2)
endWithNewline()