Skip to content

Commit

Permalink
develocity-exp-4
Browse files Browse the repository at this point in the history
  • Loading branch information
sebersole committed Mar 8, 2024
1 parent ab01984 commit d778d72
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -292,13 +292,15 @@ if ( !JavaVersion.current().java11Compatible ) {
buildCache {
local {
// do not use local build cache for CI jobs, period!
enabled = !settings.ext.isCiEnvironment
// enabled = !settings.ext.isCiEnvironment
enabled = false
}
remote(gradleEnterprise.buildCache) {
enabled = true
// Check access key presence to avoid build cache errors on PR builds when access key is not present
def accessKey = System.getenv("GRADLE_ENTERPRISE_ACCESS_KEY")
push = settings.ext.populateRemoteBuildCache && accessKey
path = "cache/exp-4-1"
}
}

Expand Down

0 comments on commit d778d72

Please sign in to comment.