Migrate to develocity plugin
This commit is contained in:
1 parent
52d1832341
commit
d55dc71cee
1 file changed
+9
-5
+9
-5
@@ -12,14 +12,18 @@ pluginManagement {
|
||||
|
||||
// https://docs.gradle.com/enterprise/gradle-plugin/
|
||||
plugins {
|
||||
id "com.gradle.enterprise" version "3.17"
|
||||
id "com.gradle.develocity" version "3.17"
|
||||
}
|
||||
|
||||
gradleEnterprise {
|
||||
def isCI = providers.environmentVariable('CI').present
|
||||
|
||||
develocity {
|
||||
buildScan {
|
||||
termsOfServiceUrl = "https://gradle.com/terms-of-service"
|
||||
termsOfServiceAgree = "yes"
|
||||
publishAlways()
|
||||
termsOfUseUrl = "https://gradle.com/terms-of-service"
|
||||
termsOfUseAgree = "yes"
|
||||
publishing {
|
||||
onlyIf { isCI }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user