This is an automated email from the ASF dual-hosted git repository.
matrei pushed a commit to branch 4.0.x
in repository https://gitbox.apache.org/repos/asf/grails-quartz.git
The following commit(s) were added to refs/heads/4.0.x by this push:
new daa98e4 build: update develocity auth (#147)
daa98e4 is described below
commit daa98e49e79eb34c7ba11550142d77d98819ea51
Author: Mattias Reichel <[email protected]>
AuthorDate: Mon Apr 14 17:33:31 2025 +0200
build: update develocity auth (#147)
---
settings.gradle | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/settings.gradle b/settings.gradle
index fbf4657..4781eb2 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-quartz')
- 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
}
}