Skip to content

Commit a43ed4f

Browse files
committed
build: update develocity integration
1 parent 82e7037 commit a43ed4f

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

settings.gradle

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,26 @@
11
plugins {
2-
id 'com.gradle.develocity' version '3.17.1'
3-
id 'com.gradle.common-custom-user-data-gradle-plugin' version '2.0'
2+
id 'com.gradle.develocity' version '4.0.2'
3+
id 'com.gradle.common-custom-user-data-gradle-plugin' version '2.3'
44
}
55

6-
def isCI = System.getenv('CI') == 'true'
6+
def isCI = System.getenv().containsKey('CI')
7+
def isLocal = !isCI
78

89
develocity {
910
server = 'https://ge.grails.org'
1011
buildScan {
11-
publishing.onlyIf { isCI }
12-
uploadInBackground = !isCI
12+
tag('grails-plugins')
13+
tag('grails-mail')
14+
publishing.onlyIf { it.authenticated }
15+
uploadInBackground = isLocal
1316
}
1417
}
1518

1619
buildCache {
17-
local { enabled = !isCI }
20+
local { enabled = isLocal }
1821
remote(develocity.buildCache) {
1922
enabled = true
20-
push = isCI && System.getenv('DEVELOCITY_ACCESS_KEY')
23+
push = isCI
2124
}
2225
}
2326

0 commit comments

Comments
 (0)