mirror of
https://github.com/google/nomulus.git
synced 2025-07-31 23:16:31 +02: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:
parent
05fcf73452
commit
f4436b54cf
5 changed files with 21 additions and 28 deletions
|
@ -57,6 +57,7 @@ PROPERTIES_HEADER = """\
|
|||
#
|
||||
# DO NOT EDIT THIS FILE BY HAND
|
||||
org.gradle.jvmargs=-Xmx1024m
|
||||
org.gradle.caching=true
|
||||
"""
|
||||
|
||||
# Help text to be displayed (in addition to the synopsis and flag help, which
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue