Migrate to Gradle Develocity plugin (#682)
* Replaces `com.gradle.enterprise:3.16.2` with
`com.gradle.develocity:3.17.2`
* Updates `io.spring.ge.conventions` to 0.0.17
* Updates deprecated usages of previous Enterprise plugin
(cherry picked from commit 61c850b8bd)
This commit is contained in:
@@ -24,13 +24,6 @@ allprojects {
|
||||
}
|
||||
}
|
||||
|
||||
if (hasProperty('buildScan')) {
|
||||
buildScan {
|
||||
termsOfServiceUrl = 'https://gradle.com/terms-of-service'
|
||||
termsOfServiceAgree = 'yes'
|
||||
}
|
||||
}
|
||||
|
||||
nohttp {
|
||||
allowlistFile = project.file('src/nohttp/allowlist.lines')
|
||||
source.exclude "**/bin/**"
|
||||
|
||||
@@ -8,10 +8,14 @@ pluginManagement {
|
||||
}
|
||||
|
||||
plugins {
|
||||
id "com.gradle.enterprise" version "3.12.6"
|
||||
id "io.spring.ge.conventions" version "0.0.13"
|
||||
id 'com.gradle.develocity' version '3.17.2'
|
||||
id 'io.spring.ge.conventions' version '0.0.17' apply false
|
||||
}
|
||||
|
||||
startParameter.noBuildScan = startParameter.taskNames.contains('format')
|
||||
|
||||
apply plugin: 'io.spring.ge.conventions'
|
||||
|
||||
include 'spring-pulsar'
|
||||
include 'spring-pulsar-bom'
|
||||
include 'spring-pulsar-cache-provider'
|
||||
@@ -35,9 +39,11 @@ rootProject.children.findAll { !it.name.startsWith('sample-') }
|
||||
.each {project -> project.buildFileName = "${project.name}.gradle" }
|
||||
|
||||
settings.gradle.projectsLoaded {
|
||||
gradleEnterprise {
|
||||
develocity {
|
||||
buildScan {
|
||||
publishOnFailure()
|
||||
publishing.onlyIf { !it.buildResult.failures.empty }
|
||||
termsOfUseUrl = 'https://gradle.com/terms-of-service'
|
||||
termsOfUseAgree = 'yes'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user