File tree Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change 11plugins {
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
89develocity {
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
1619buildCache {
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
You can’t perform that action at this time.
0 commit comments