You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@grails.apache.org by ma...@apache.org on 2025/04/14 16:04:18 UTC
(grails-profiles) 01/01: build: update develocity auth
This is an automated email from the ASF dual-hosted git repository.
matrei pushed a commit to branch develocity-auth
in repository https://gitbox.apache.org/repos/asf/grails-profiles.git
commit d91ac39feb1e96476c71b8dfd734774eb7b1a557
Author: Mattias Reichel <ma...@gmail.com>
AuthorDate: Mon Apr 14 18:04:04 2025 +0200
build: update develocity auth
---
settings.gradle | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/settings.gradle b/settings.gradle
index 4cf333d..0b3683c 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-profiles')
- 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
}
}