clayburn commented on code in PR #40551:
URL: https://github.com/apache/beam/pull/40551#discussion_r4259945584
##########
settings.gradle.kts:
##########
@@ -65,20 +64,13 @@ buildCache {
local {
isEnabled = true
}
- remote<HttpBuildCache> {
- url = uri("https://beam-cache.apache.org/cache/")
- isAllowUntrustedServer = false
- credentials {
- username = System.getenv("GRADLE_ENTERPRISE_CACHE_USERNAME")
- password = System.getenv("GRADLE_ENTERPRISE_CACHE_PASSWORD")
- }
- isEnabled =
!System.getenv("GRADLE_ENTERPRISE_CACHE_USERNAME").isNullOrBlank()
+ remote(develocity.buildCache) {
+ isEnabled = true
Review Comment:
We recommend enable build cache reads all builds, but only writing from CI.
For develocity.apache.org, reads are anonymous, so setting this to true allows
contributors to benefit from remote cache reads.
That said, it is configurable if you prefer only CI.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]