1
0
mirror of https://github.com/google/nomulus synced 2025-12-23 06:15:42 +00:00

Do not delete build cache when building release candidates (#1619)

We would like to re-use the build cache when building RCs for different
environments. There's not much practical use in doing a "clean" for
every build when Gradle should be able to figure out which artifacts
need to be rebuilt. It also does not make sense to build each
environment in a separate step, which also introduces redunency because
not all artifacts are cached across steps. The build cache is enabled by
default.

Lastly, the cache needs to be inside the /workspace folder, which is the
default persisted storage location.

TESTED=tried to build the RCs on alpha and saved about 10 min.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/google/nomulus/1619)
<!-- Reviewable:end -->
This commit is contained in:
Lai Jiang
2022-05-04 12:08:10 -04:00
committed by GitHub
parent 05fcf73452
commit f4436b54cf
5 changed files with 21 additions and 28 deletions

View File

@@ -8,6 +8,7 @@
#
# DO NOT EDIT THIS FILE BY HAND
org.gradle.jvmargs=-Xmx1024m
org.gradle.caching=true
mavenUrl=
pluginsUrl=
uploaderDestination=