Migrate to develocity plugin

This commit is contained in:
Goooler committed 2024-04-04 10:57:57 +08:00
1 parent 52d1832341
commit d55dc71cee
1 file changed
+9 -5
+9 -5
View File
@@ -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 }
}
}
}