Skip to content

Commit

Permalink
Migrate to develocity plugin and remove unused build scan config (#2084)
Browse files Browse the repository at this point in the history
  • Loading branch information
nedtwigg committed Apr 4, 2024
2 parents 13fbf78 + 0513051 commit 268b6f6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 46 deletions.
40 changes: 0 additions & 40 deletions gradle/build-scans.gradle

This file was deleted.

16 changes: 10 additions & 6 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ plugins {
id 'com.adarshr.test-logger' version '4.0.0' apply false
// https://github.com/davidburstrom/version-compatibility-gradle-plugin/tags
id 'io.github.davidburstrom.version-compatibility' version '0.5.0' apply false
// https://plugins.gradle.org/plugin/com.gradle.enterprise
id 'com.gradle.enterprise' version '3.16'
// https://plugins.gradle.org/plugin/com.gradle.develocity
id 'com.gradle.develocity' version '3.17'
// https://github.com/equodev/equo-ide/blob/main/plugin-gradle/CHANGELOG.md
id 'dev.equo.ide' version '1.7.5' apply false
}
Expand Down Expand Up @@ -59,11 +59,15 @@ if (System.env['CI'] != null) {
}
}

gradleEnterprise {
def isCI = providers.environmentVariable('CI').present

develocity {
buildScan {
termsOfServiceUrl = "https://gradle.com/terms-of-service"
termsOfServiceAgree = "yes"
publishAlwaysIf(providers.environmentVariable('CI').present)
termsOfUseUrl = "https://gradle.com/terms-of-service"
termsOfUseAgree = "yes"
publishing {
onlyIf { isCI }
}
}
}

Expand Down

0 comments on commit 268b6f6

Please sign in to comment.