Skip to content

Commit

Permalink
Use new plugin ID com.gradle.develocity instead of `com.gradle.ente…
Browse files Browse the repository at this point in the history
…rprise`
  • Loading branch information
snazy committed Apr 3, 2024
1 parent 3310843 commit 59796c4
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ pluginManagement {
}
}

plugins { id("com.gradle.enterprise") version ("3.17") }
plugins { id("com.gradle.develocity") version ("3.17") }

gradleEnterprise {
develocity {
if (System.getenv("CI") != null) {
buildScan {
termsOfServiceUrl = "https://gradle.com/terms-of-service"
termsOfServiceAgree = "yes"
termsOfUseUrl = "https://gradle.com/terms-of-service"
termsOfUseAgree = "yes"
// Add some potentially interesting information from the environment
listOf(
"GITHUB_ACTION_REPOSITORY",
Expand Down Expand Up @@ -61,6 +61,8 @@ gradleEnterprise {
link("PRs", "$ghUrl/$ghRepo/pulls")
}
}
} else {
buildScan { publishing { onlyIf { gradle.startParameter.isBuildScan } } }
}
}

Expand Down

0 comments on commit 59796c4

Please sign in to comment.