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-geb.git

commit b1b3858aa155b66112841bc5053873e05201b863
Author: Mattias Reichel <mattias.reic...@gmail.com>
AuthorDate: Mon Apr 14 17:49:20 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 71935e2..0de61ce 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-geb')
-        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
     }
 }

Reply via email to