Skip to content

Commit

Permalink
chore: Update gradle enterprise plugin to develocity plugin (deephave…
Browse files Browse the repository at this point in the history
…n#6303)

The `com.gradle.enterprise` plugin has been deprecated in favor of the
`com.gradle.develocity` plugin. This supersedes
deephaven#6071.

See
https://docs.gradle.com/develocity/gradle-plugin/legacy/#develocity_migration,
https://docs.gradle.com/develocity/gradle-plugin/current/
  • Loading branch information
devinrsmith authored Oct 28, 2024
1 parent aeeac7d commit ad65007
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions settings.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id 'com.gradle.enterprise' version '3.13.1'
id 'com.gradle.develocity' version '3.18.1'
id 'org.gradle.toolchains.foojay-resolver-convention' version '0.8.0'
}

Expand Down Expand Up @@ -466,14 +466,14 @@ buildCache {
}
}

def isCiServer = System.getenv('CI') == 'true'
if (isCiServer) {
gradleEnterprise {
buildScan {
termsOfServiceUrl = 'https://gradle.com/terms-of-service'
termsOfServiceAgree = 'yes'
develocity {
buildScan {
// buildScan will still publish when gradlew is explicitly invoked with `--scan`
publishing.onlyIf { false }
termsOfUseUrl = 'https://gradle.com/help/legal-terms-of-use'
termsOfUseAgree = 'yes'
if(System.getenv('CI') == 'true') {
tag('CI')
}
}
}

0 comments on commit ad65007

Please sign in to comment.