Skip to content

Commit

Permalink
Upgrade plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
deepy committed Sep 27, 2024
1 parent bef63e0 commit b3f91d9
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,32 +1,33 @@
plugins {
id("com.gradle.enterprise") version("3.14.1")
id("com.gradle.common-custom-user-data-gradle-plugin") version("1.11.1")
id("com.gradle.develocity") version("3.18.1")
id("com.gradle.common-custom-user-data-gradle-plugin") version("2.0.2")
}

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

val publishAlwaysIf = System.getProperties()["user.name"] == "deepy"

gradleEnterprise {
develocity {
server.set("https://alexandernordlund.gradle-enterprise.cloud/")
buildScan {
if (publishAlwaysIf || isPR) {
server = "https://alexandernordlund.gradle-enterprise.cloud/"
publishing {
onlyIf { it.isAuthenticated }
}
termsOfServiceUrl = "https://gradle.com/terms-of-service"
if (isCI) {
termsOfServiceAgree = "yes"
}
publishAlwaysIf(publishAlwaysIf)
uploadInBackground.set(!isCI)

capture {
isTaskInputFiles = publishAlwaysIf || isPR
fileFingerprints.set(publishAlwaysIf || isPR)
}
isUploadInBackground = !isCI

obfuscation {
ipAddresses { addresses -> addresses.map { _ -> "0.0.0.0"} }
if (!isCI) {
externalProcessName { processName -> "non-build-process" }
}
}
}
}


rootProject.name = "gradle-node-plugin"

0 comments on commit b3f91d9

Please sign in to comment.