diff --git a/settings.gradle b/settings.gradle index d0112bfe..a956ef42 100644 --- a/settings.gradle +++ b/settings.gradle @@ -6,8 +6,14 @@ pluginManagement { } } -plugins { - id 'com.gradle.enterprise' version '3.17' +develocity { + buildScan { + termsOfUseUrl = 'https://gradle.com/terms-of-service' + termsOfUseAgree = 'yes' + // TODO: workaround for https://github.com/gradle/gradle/issues/22879 + def isCI = providers.environmentVariable("CI").isPresent() + publishing.onlyIf { isCI } + } } dependencyResolutionManagement {