Skip to content

Commit

Permalink
--wip--
Browse files Browse the repository at this point in the history
  • Loading branch information
deepy committed Aug 22, 2024
1 parent 92e1d21 commit 4d1f756
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 13 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
org.gradle.unsafe.configuration-cache=true
#org.gradle.unsafe.configuration-cache=true
systemProp.gradle.enterprise.testretry.enabled=false
systemProp.org.gradle.unsafe.kotlin.assignment=true
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")
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 4d1f756

Please sign in to comment.