diff --git a/settings.gradle b/settings.gradle index 7d549131b4..e87fab9275 100644 --- a/settings.gradle +++ b/settings.gradle @@ -11,17 +11,17 @@ pluginManagement { } 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' } -def isCI = providers.environmentVariable("CI").isPresent() +def isCI = providers.environmentVariable("CI").present -gradleEnterprise { +develocity { buildScan { - termsOfServiceUrl = "https://gradle.com/terms-of-service" - termsOfServiceAgree = "yes" - publishAlwaysIf(isCI) + termsOfUseUrl = "https://gradle.com/terms-of-service" + termsOfUseAgree = "yes" + publishing.onlyIf { isCI } } }