You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@grails.apache.org by jd...@apache.org on 2025/05/31 03:21:13 UTC

(grails-core) branch 7.0.x updated: [skip ci] tweak the build cache locally so that reproducible builds do not use the local cache since it could have been used by other codesets

This is an automated email from the ASF dual-hosted git repository.

jdaugherty pushed a commit to branch 7.0.x
in repository https://gitbox.apache.org/repos/asf/grails-core.git


The following commit(s) were added to refs/heads/7.0.x by this push:
     new edba1102d3 [skip ci] tweak the build cache locally so that reproducible builds do not use the local cache since it could have been used by other codesets
edba1102d3 is described below

commit edba1102d3f96c9d760481278baff5ad913e716d
Author: James Daugherty <jd...@jdresources.net>
AuthorDate: Fri May 30 23:21:04 2025 -0400

    [skip ci] tweak the build cache locally so that reproducible builds do not use the local cache since it could have been used by other codesets
---
 settings.gradle | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/settings.gradle b/settings.gradle
index b07a76a934..1d3f3e3b87 100644
--- a/settings.gradle
+++ b/settings.gradle
@@ -48,7 +48,7 @@ develocity {
 }
 
 buildCache {
-    local { enabled = isLocal || isReproducibleBuild }
+    local { enabled = (isLocal && !isReproducibleBuild) || (isCI && isReproducibleBuild) }
     remote(develocity.buildCache) {
         push = isCI
         enabled = !isReproducibleBuild