From 851806fece43b920d4f0fdeb97fe75d02a74fdcc Mon Sep 17 00:00:00 2001 From: Mattias Reichel Date: Mon, 14 Apr 2025 17:13:13 +0200 Subject: [PATCH] build: update develocity auth --- settings.gradle | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/settings.gradle b/settings.gradle index dd7574d84f0..cceab0fd137 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-data-mapping') - 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 } }