Skip to content

Commit 4d1f756

Browse files
committed
--wip--
1 parent 92e1d21 commit 4d1f756

File tree

2 files changed

+14
-13
lines changed

2 files changed

+14
-13
lines changed

gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
org.gradle.unsafe.configuration-cache=true
1+
#org.gradle.unsafe.configuration-cache=true
22
systemProp.gradle.enterprise.testretry.enabled=false
33
systemProp.org.gradle.unsafe.kotlin.assignment=true

settings.gradle.kts

+13-12
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,33 @@
11
plugins {
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")
3+
id("com.gradle.common-custom-user-data-gradle-plugin") version("2.0.2")
44
}
55

66
val isCI = System.getenv().containsKey("CI")
77
val isPR = isCI && System.getenv().containsKey("GRADLE_ENTERPRISE_ACCESS_KEY")
88

99
val 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+
3233
rootProject.name = "gradle-node-plugin"

0 commit comments

Comments
 (0)