build: update develocity auth (#737)
diff --git a/settings.gradle b/settings.gradle index 2dce9e2..b661cbe 100644 --- a/settings.gradle +++ b/settings.gradle
@@ -5,14 +5,13 @@ 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-views') - publishing.onlyIf { isAuthenticated } + publishing.onlyIf { it.authenticated } uploadInBackground = isLocal } } @@ -20,7 +19,7 @@ buildCache { local { enabled = isLocal } remote(develocity.buildCache) { - push = isCI && isAuthenticated + push = isCI enabled = true } }