This is an automated email from the ASF dual-hosted git repository.
matrei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/grails-static-website.git
The following commit(s) were added to refs/heads/master by this push:
new 43fe1a4d0f build: update develocity auth (#348)
43fe1a4d0f is described below
commit 43fe1a4d0f974914f342186d714ec2b2efd505fa
Author: Mattias Reichel <[email protected]>
AuthorDate: Mon Apr 14 17:58:35 2025 +0200
build: update develocity auth (#348)
---
settings.gradle | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/settings.gradle b/settings.gradle
index f863c5445f..e25bec95e0 100644
--- a/settings.gradle
+++ b/settings.gradle
@@ -5,14 +5,13 @@ plugins {
def isCI = System.getenv().containsKey('CI')
def isLocal = !isCI
-def isAuthenticated =
System.getenv().containsKey('GRAILS_DEVELOCITY_ACCESS_KEY')
develocity {
server = 'https://ge.grails.org'
buildScan {
tag('grails')
tag('grails-static-website')
- publishing.onlyIf { isAuthenticated }
+ publishing.onlyIf { it.authenticated }
uploadInBackground = isLocal
}
}
@@ -20,7 +19,7 @@ develocity {
buildCache {
local { enabled = isLocal }
remote(develocity.buildCache) {
- push = isCI && isAuthenticated
+ push = isCI
enabled = true
}
}