Skip to content

Commit

Permalink
Migrate to develocity plugin (#2625)
Browse files Browse the repository at this point in the history
  • Loading branch information
Goooler committed Apr 6, 2024
1 parent 3e67a28 commit d548c33
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
Expand Up @@ -15,17 +15,17 @@ dependencyResolutionManagement {
}

plugins {
`gradle-enterprise`
id("com.gradle.develocity") version "3.17"
id("org.gradle.toolchains.foojay-resolver-convention") version "0.8.0"
}

gradleEnterprise {
develocity {
buildScan {
termsOfServiceUrl = "https://gradle.com/terms-of-service"
termsOfServiceAgree = "yes"
if (System.getenv("CI") != null) {
publishAlways()
}
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 d548c33

Please sign in to comment.