Migrate to develocity plugin (#4356)

https://docs.gradle.com/enterprise/gradle-plugin/legacy/#develocity_migration
This commit is contained in:
Zongle Wang 2024-04-05 01:25:25 +08:00 committed by GitHub
parent a312492b1d
commit d01d4b2157
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 6 deletions

View File

@ -11,17 +11,17 @@ pluginManagement {
} }
plugins { plugins {
id 'com.gradle.enterprise' version '3.17' id 'com.gradle.develocity' version '3.17'
id 'org.gradle.toolchains.foojay-resolver-convention' version '0.8.0' id 'org.gradle.toolchains.foojay-resolver-convention' version '0.8.0'
} }
def isCI = providers.environmentVariable("CI").isPresent() def isCI = providers.environmentVariable("CI").present
gradleEnterprise { develocity {
buildScan { buildScan {
termsOfServiceUrl = "https://gradle.com/terms-of-service" termsOfUseUrl = "https://gradle.com/terms-of-service"
termsOfServiceAgree = "yes" termsOfUseAgree = "yes"
publishAlwaysIf(isCI) publishing.onlyIf { isCI }
} }
} }