dokka/0003-disable-gradle-enterprise.patch

28 lines
883 B
Diff
Raw Permalink Normal View History

--- 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