Migrate to develocity plugin (#4356)
https://docs.gradle.com/enterprise/gradle-plugin/legacy/#develocity_migration
This commit is contained in:
parent
a312492b1d
commit
d01d4b2157
|
@ -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 }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue