Skip to content

Commit 6852dbb

Browse files
committed
Switched from the Gradle Enterprise Plugin to the Develocity plugin.
1 parent b0e8166 commit 6852dbb

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

settings.gradle.kts

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ pluginManagement {
77
}
88

99
plugins {
10-
id("com.gradle.enterprise") version "3.16.2"
10+
id("com.gradle.develocity") version "3.18"
1111
}
1212

1313
dependencyResolutionManagement {
@@ -21,13 +21,11 @@ dependencyResolutionManagement {
2121
enableFeaturePreview("STABLE_CONFIGURATION_CACHE")
2222
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
2323

24-
gradleEnterprise {
25-
if (System.getenv("CI") != null) {
26-
buildScan {
27-
publishAlways()
28-
termsOfServiceUrl = "https://gradle.com/terms-of-service"
29-
termsOfServiceAgree = "yes"
30-
}
24+
develocity {
25+
buildScan {
26+
publishing.onlyIf { !System.getenv("CI").isNullOrEmpty() }
27+
termsOfUseUrl.set("https://gradle.com/help/legal-terms-of-use")
28+
termsOfUseAgree.set("yes")
3129
}
3230
}
3331

0 commit comments

Comments
 (0)