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 } }