Skip to content

Commit

Permalink
Revert "Only publish build scans automatically on CI"
Browse files Browse the repository at this point in the history
This reverts commit cdb62a3.
  • Loading branch information
jjohannes committed May 17, 2024
1 parent cdb62a3 commit c764cce
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,12 @@ dependencyResolutionManagement {
repositories.mavenCentral()
}

develocity {
buildScan {
if (buildParameters.ci) {
termsOfUseUrl = "https://gradle.com/help/legal-terms-of-use"
termsOfUseAgree = "yes"
} else {
publishing.onlyIf { false }
if (the<BuildParametersExtension>().ci) {
gradleEnterprise {
buildScan {
publishAlways()
termsOfServiceUrl = "https://gradle.com/terms-of-service"
termsOfServiceAgree = "yes"
}
}
}

0 comments on commit c764cce

Please sign in to comment.