File tree Expand file tree Collapse file tree 2 files changed +10
-15
lines changed Expand file tree Collapse file tree 2 files changed +10
-15
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,9 @@ projectVersion=6.0.0-SNAPSHOT
33asciidoctorJvmVersion =4.0.3
44grailsVersion =7.0.0-SNAPSHOT
55
6+ customUserDataVersion =2.2.1
7+ develocityVersion =4.0
8+
69# For tests only
710hibernate5Version =5.6.15.Final
811jbossTransactionApiVersion =2.0.0.Final
Original file line number Diff line number Diff line change 11plugins {
2- id ' com.gradle.develocity' version ' 3.18.1 '
3- id ' com.gradle.common-custom-user-data-gradle-plugin' version ' 2.0.2 '
2+ id " com.gradle.develocity" version " $d evelocityVersion "
3+ id " com.gradle.common-custom-user-data-gradle-plugin" version " $c ustomUserDataVersion "
44}
55
6- def isCI = System . getenv(' CI' ) != null
6+ def isCI = System . getenv() . containsKey( ' CI' )
77def isLocal = ! isCI
8- def isAuthenticated = System . getenv(' DEVELOCITY_ACCESS_KEY' ) != null
9- def isBuildCacheAuthenticated =
10- System . getenv(' DEVELOCITY_BUILD_CACHE_NODE_USER' ) != null &&
11- System . getenv(' DEVELOCITY_BUILD_CACHE_NODE_KEY' ) != null
128
139develocity {
1410 server = ' https://ge.grails.org'
1511 buildScan {
16- tag(' grails-plugins ' )
17- tag(' grails-plugins/grails-audit-logging ' )
18- publishing. onlyIf { isAuthenticated }
12+ tag(' grails' )
13+ tag(' grails-forge ' )
14+ publishing. onlyIf { it . authenticated }
1915 uploadInBackground = isLocal
2016 }
2117}
2218
2319buildCache {
2420 local { enabled = isLocal }
2521 remote(develocity. buildCache) {
26- push = isCI && isBuildCacheAuthenticated
22+ push = isCI
2723 enabled = true
28- usernameAndPassword(
29- System . getenv(' DEVELOCITY_BUILD_CACHE_NODE_USER' ) ?: ' ' ,
30- System . getenv(' DEVELOCITY_BUILD_CACHE_NODE_KEY' ) ?: ' '
31- )
3224 }
3325}
3426
You can’t perform that action at this time.
0 commit comments