From fe4a0c62d5c9c28a9906a9815d6af3ea2fe8d6a5 Mon Sep 17 00:00:00 2001 From: Mattias Reichel Date: Mon, 14 Apr 2025 17:52:27 +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 2893f899..29efac7c 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-cache') - 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 } }