File tree Expand file tree Collapse file tree 1 file changed +13
-12
lines changed Expand file tree Collapse file tree 1 file changed +13
-12
lines changed Original file line number Diff line number Diff line change 11plugins {
2- id(" com.gradle.enterprise " ) version(" 3.14 .1" )
3- id(" com.gradle.common-custom-user-data-gradle-plugin" ) version(" 1.11.1 " )
2+ id(" com.gradle.develocity " ) version(" 3.18 .1" )
3+ id(" com.gradle.common-custom-user-data-gradle-plugin" ) version(" 2.0.2 " )
44}
55
66val isCI = System .getenv().containsKey(" CI" )
77val isPR = isCI && System .getenv().containsKey(" GRADLE_ENTERPRISE_ACCESS_KEY" )
88
99val publishAlwaysIf = System .getProperties()[" user.name" ] == " deepy"
1010
11- gradleEnterprise {
11+ develocity {
12+ server.set(" https://alexandernordlund.gradle-enterprise.cloud/" )
1213 buildScan {
13- if (publishAlwaysIf || isPR) {
14- server = " https://alexandernordlund.gradle-enterprise.cloud/ "
14+ publishing {
15+ onlyIf { it.isAuthenticated }
1516 }
16- termsOfServiceUrl = " https://gradle.com/terms-of-service"
17- if (isCI) {
18- termsOfServiceAgree = " yes"
19- }
20- publishAlwaysIf(publishAlwaysIf)
17+ uploadInBackground.set(! isCI)
2118
2219 capture {
23- isTaskInputFiles = publishAlwaysIf || isPR
20+ fileFingerprints.set( publishAlwaysIf || isPR)
2421 }
25- isUploadInBackground = ! isCI
22+
2623 obfuscation {
2724 ipAddresses { addresses -> addresses.map { _ -> " 0.0.0.0" } }
25+ if (! isCI) {
26+ externalProcessName { processName -> " non-build-process" }
27+ }
2828 }
2929 }
3030}
3131
32+
3233rootProject.name = " gradle-node-plugin"
You can’t perform that action at this time.
0 commit comments