Skip to content

Commit ecc6088

Browse files
authored
build: update develocity auth (#2087)
1 parent 957bd7f commit ecc6088

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

settings.gradle

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,21 @@ plugins {
55

66
def isCI = System.getenv().containsKey('CI')
77
def isLocal = !isCI
8-
def isAuthenticated = System.getenv().containsKey('GRAILS_DEVELOCITY_ACCESS_KEY')
98

109
develocity {
1110
server = 'https://ge.grails.org'
1211
buildScan {
1312
tag('grails')
1413
tag('grails-data-mapping')
15-
publishing.onlyIf { isAuthenticated }
14+
publishing.onlyIf { it.authenticated }
1615
uploadInBackground = isLocal
1716
}
1817
}
1918

2019
buildCache {
2120
local { enabled = isLocal }
2221
remote(develocity.buildCache) {
23-
push = isCI && isAuthenticated
22+
push = isCI
2423
enabled = true
2524
}
2625
}

0 commit comments

Comments
 (0)