Skip to content

Commit

Permalink
Migrate to develocity plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Goooler authored Apr 5, 2024
1 parent 253258c commit 235fb05
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
plugins {
id("com.gradle.enterprise") version "3.17"
id("com.gradle.develocity") version "3.17"
id("org.gradle.toolchains.foojay-resolver-convention") version "0.8.0"
}

val isCiBuild = System.getenv("CI") != null

gradleEnterprise {
develocity {
buildScan {
termsOfServiceUrl = "https://gradle.com/terms-of-service"
termsOfServiceAgree = "yes"
publishAlwaysIf(isCiBuild)
termsOfUseUrl = "https://gradle.com/terms-of-service"
termsOfUseAgree = "yes"
// TODO: workaround for https://github.com/gradle/gradle/issues/22879.
val isCI = providers.environmentVariable("CI").isPresent
publishing.onlyIf { isCI }
}
}

Expand Down

0 comments on commit 235fb05

Please sign in to comment.