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