chore(deps): update plugin com.gradle.enterprise to com.gradle.develocity (#612)
This commit is contained in:
parent
5d95425706
commit
add5f214c9
|
@ -30,18 +30,17 @@ dependencyResolutionManagement {
|
||||||
}
|
}
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
id("com.gradle.enterprise") version "3.16.2"
|
id("com.gradle.develocity") version "3.17"
|
||||||
}
|
}
|
||||||
|
|
||||||
val isCiBuild = !System.getenv("CI").isNullOrBlank()
|
develocity {
|
||||||
|
|
||||||
gradleEnterprise {
|
|
||||||
buildScan {
|
buildScan {
|
||||||
termsOfServiceUrl = "https://gradle.com/terms-of-service"
|
termsOfUseUrl = "https://gradle.com/help/legal-terms-of-use"
|
||||||
termsOfServiceAgree = "yes"
|
termsOfUseAgree = "yes"
|
||||||
isUploadInBackground = !isCiBuild
|
val isCiBuild = providers.environmentVariable("CI").isPresent
|
||||||
|
uploadInBackground = !isCiBuild
|
||||||
tag(if (isCiBuild) "CI" else "Local")
|
tag(if (isCiBuild) "CI" else "Local")
|
||||||
publishAlwaysIf(isCiBuild)
|
publishing.onlyIf { isCiBuild }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue