dokka/0003-disable-gradle-enterprise.patch
Dominic aa0c85a528
Some checks failed
Mirror / mirror (push) Failing after 7m6s
attempt to patch for 1.9.20
fails to find the subproject, whatever gradle is doing, I have no idea
2024-11-25 18:13:24 +01:00

27 lines
883 B
Diff

--- settings.gradle.kts.bak 2024-11-25 18:06:58.849846016 +0100
+++ settings.gradle.kts 2024-11-25 18:07:14.506550205 +0100
@@ -55,7 +55,6 @@
}
plugins {
- `gradle-enterprise`
id("org.gradle.toolchains.foojay-resolver-convention") version "0.7.0"
}
@@ -94,16 +93,6 @@
":dokka-subprojects:plugin-versioning",
)
-val isCiBuild = System.getenv("GITHUB_ACTIONS") != null || System.getenv("TEAMCITY_VERSION") != null
-
-gradleEnterprise {
- buildScan {
- termsOfServiceUrl = "https://gradle.com/terms-of-service"
- termsOfServiceAgree = "yes"
- publishAlwaysIf(isCiBuild)
- }
-}
-
// This hack is required for included build support.
// The name of the published artifact is `dokka-core`, but the module is named `core`.
// For some reason, dependency substitution doesn't work in this case. Maybe we fall under one of the unsupported