Skip to content

Commit cb0a4a9

Browse files
authored
[Chore] Upgrade to the Develocity plugin to remove build warnings (#4045)
## Summary `com.gradle.enterprise` plugin has been deprecated in favor of `com.gradle.develocity`. The use of the deprecated plugin ID and APIs results in build time warnings like the following: ``` WARNING: The following functionality has been deprecated and will be removed in the next major release of the Develocity Gradle plugin. For assistance with migration, see https://gradle.com/help/gradle-plugin-develocity-migration. - The deprecated "gradleEnterprise.buildScan.termsOfServiceUrl" API has been replaced by "develocity.buildScan.termsOfUseUrl" - The deprecated "gradleEnterprise.buildScan.termsOfServiceAgree" API has been replaced by "develocity.buildScan.termsOfUseAgree" - The "com.gradle.enterprise" plugin has been replaced by "com.gradle.develocity" ``` This PR updates the plugin ID and replaces the deprecated usage.
1 parent 8a1ebac commit cb0a4a9

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

settings.gradle.kts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,13 +100,14 @@ include(
100100
)
101101

102102
plugins {
103-
id("com.gradle.enterprise") version "3.17.2"
103+
id("com.gradle.develocity") version "3.17.4"
104104
}
105105

106-
gradleEnterprise {
106+
develocity {
107107
buildScan {
108-
termsOfServiceUrl = "https://gradle.com/terms-of-service"
109-
termsOfServiceAgree = "yes"
108+
termsOfUseUrl = "https://gradle.com/help/legal-terms-of-use"
109+
termsOfUseAgree = "yes"
110+
publishing.onlyIf { false }
110111
}
111112
}
112113

0 commit comments

Comments
 (0)