* 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)
60 lines
1.4 KiB
Groovy
60 lines
1.4 KiB
Groovy
plugins {
|
|
id 'io.spring.nohttp'
|
|
id 'org.springframework.pulsar.root-project'
|
|
id 'org.springframework.pulsar.update-version'
|
|
alias(libs.plugins.grgit) apply false
|
|
alias(libs.plugins.versions)
|
|
alias(libs.plugins.version.catalog.update)
|
|
}
|
|
|
|
description = 'Spring for Apache Pulsar'
|
|
|
|
apply from: 'gradle/jacoco-conventions.gradle'
|
|
apply from: 'gradle/aggregate-jacoco-report.gradle'
|
|
apply from: 'gradle/update-copyrights.gradle'
|
|
apply from: 'gradle/version-catalog-update.gradle'
|
|
|
|
allprojects {
|
|
group = 'org.springframework.pulsar'
|
|
configurations.all {
|
|
resolutionStrategy {
|
|
cacheChangingModulesFor 0, "seconds"
|
|
cacheDynamicVersionsFor 0, "seconds"
|
|
}
|
|
}
|
|
}
|
|
|
|
nohttp {
|
|
allowlistFile = project.file('src/nohttp/allowlist.lines')
|
|
source.exclude "**/bin/**"
|
|
source.exclude "**/build/**"
|
|
source.exclude "**/out/**"
|
|
source.exclude "**/target/**"
|
|
source.exclude "**/*.dylib"
|
|
source.exclude "**/*.gif"
|
|
source.exclude "**/.gradle/**"
|
|
}
|
|
|
|
check {
|
|
dependsOn checkstyleNohttp
|
|
}
|
|
|
|
tasks.register('runAllSampleTests') {
|
|
var allTasks = rootProject.getAllTasks(true)
|
|
.findAll {it.key.project.name.startsWith("sample-") }
|
|
var allTestsTasks = allTasks.values().collect { t ->
|
|
t.findAll { it.name == 'test' || it.name == 'integrationTest' }
|
|
}.flatten()
|
|
it.dependsOn {
|
|
allTestsTasks
|
|
}
|
|
}
|
|
|
|
versionCatalogUpdate {
|
|
versionCatalogs {
|
|
buildLibsCatalog {
|
|
catalogFile = file("gradle/build-libs.versions.toml")
|
|
}
|
|
}
|
|
}
|