Skip to content
This repository was archived by the owner on Jul 16, 2024. It is now read-only.

Commit 2969c86

Browse files
authored
Migrate to develocity plugin
1 parent b3047d9 commit 2969c86

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

settings.gradle.kts

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,16 @@ dependencyResolutionManagement {
2424
}
2525

2626
plugins {
27-
id("com.gradle.enterprise") version "3.17"
27+
id("com.gradle.develocity") version "3.17"
2828
}
2929

30-
gradleEnterprise {
30+
develocity {
3131
buildScan {
32-
termsOfServiceUrl = "https://gradle.com/terms-of-service"
33-
termsOfServiceAgree = "yes"
34-
publishAlways()
32+
termsOfUseUrl = "https://gradle.com/terms-of-service"
33+
termsOfUseAgree = "yes"
34+
// TODO: workaround for https://github.com/gradle/gradle/issues/22879.
35+
val isCI = providers.environmentVariable("CI").isPresent
36+
publishing.onlyIf { isCI }
3537
}
3638
}
3739

0 commit comments

Comments
 (0)