Skip to content

Commit dc0b9bc

Browse files
authored
Migrate from Gradle enterprise to Develocity (#115)
1 parent 1f2f70b commit dc0b9bc

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

Diff for: settings.gradle.kts

+10-9
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,26 @@
11
pluginManagement {
22
includeBuild("gradle/build-logic")
3-
repositories {
3+
repositories {
44
mavenCentral()
55
gradlePluginPortal()
66
}
77
}
88

9-
plugins {
9+
plugins {
1010
id("myRepos")
1111
id("org.gradle.toolchains.foojay-resolver-convention") version "0.8.0"
12-
id("com.gradle.enterprise") version "3.17"
12+
id("com.gradle.develocity") version "3.17.2"
1313
}
1414

15-
gradleEnterprise {
15+
develocity {
1616
buildScan {
17-
termsOfServiceUrl = "https://gradle.com/terms-of-service"
18-
termsOfServiceAgree = "yes"
19-
if (System.getenv("CI") != null) {
20-
publishAlways()
21-
tag("CI")
17+
termsOfUseUrl.set("https://gradle.com/help/legal-terms-of-use")
18+
termsOfUseAgree.set("yes")
19+
val isCI = providers.environmentVariable("CI").isPresent
20+
publishing {
21+
onlyIf { isCI }
2222
}
23+
tag("CI")
2324
}
2425
}
2526

0 commit comments

Comments
 (0)