We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7bee410 commit fe4a0c6Copy full SHA for fe4a0c6
settings.gradle
@@ -5,22 +5,21 @@ plugins {
5
6
def isCI = System.getenv().containsKey('CI')
7
def isLocal = !isCI
8
-def isAuthenticated = System.getenv().containsKey('GRAILS_DEVELOCITY_ACCESS_KEY')
9
10
develocity {
11
server = 'https://ge.grails.org'
12
buildScan {
13
tag('grails')
14
tag('grails-cache')
15
- publishing.onlyIf { isAuthenticated }
+ publishing.onlyIf { it.authenticated }
16
uploadInBackground = isLocal
17
}
18
19
20
buildCache {
21
local { enabled = isLocal }
22
remote(develocity.buildCache) {
23
- push = isCI && isAuthenticated
+ push = isCI
24
enabled = true
25
26
0 commit comments