Skip to content

Commit b3999e0

Browse files
committed
Switched from the Gradle Enterprise Plugin to the Develocity plugin.
1 parent 539c785 commit b3999e0

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
@@ -8,7 +8,7 @@ pluginManagement {
88
}
99

1010
plugins {
11-
id("com.gradle.enterprise") version "3.16.2"
11+
id("com.gradle.develocity") version "3.18"
1212
}
1313

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