-
-
Notifications
You must be signed in to change notification settings - Fork 121
Expand file tree
/
Copy pathsettings.gradle.kts
More file actions
34 lines (27 loc) · 933 Bytes
/
settings.gradle.kts
File metadata and controls
34 lines (27 loc) · 933 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
plugins {
id("com.gradle.develocity") version("4.3.2")
id("com.gradle.common-custom-user-data-gradle-plugin") version("2.3")
}
val isCI = System.getenv().containsKey("CI")
val isPR = isCI && System.getenv().containsKey("GRADLE_ENTERPRISE_ACCESS_KEY")
val publishAlwaysIf = System.getProperties()["user.name"] == "deepy"
develocity {
server.set("https://alexandernordlund.gradle-enterprise.cloud/")
buildScan {
publishing {
onlyIf { it.isAuthenticated }
}
uploadInBackground.set(!isCI)
capture {
fileFingerprints.set(publishAlwaysIf || isPR)
resourceUsage.set(isCI)
}
obfuscation {
ipAddresses { addresses -> addresses.map { _ -> "0.0.0.0"} }
if (!isCI) {
externalProcessName { processName -> "non-build-process" }
}
}
}
}
rootProject.name = "gradle-node-plugin"