42 lines
882 B
Groovy
42 lines
882 B
Groovy
plugins {
|
|
id 'io.spring.nohttp'
|
|
id 'org.springframework.pulsar.root-project'
|
|
id 'org.springframework.pulsar.update-version'
|
|
id 'org.ajoberstar.grgit' version '4.0.1' apply false
|
|
}
|
|
|
|
description = 'Spring for Apache Pulsar'
|
|
|
|
apply from: 'gradle/aggregate-jacoco-report.gradle'
|
|
apply from: 'gradle/update-copyrights.gradle'
|
|
|
|
|
|
allprojects {
|
|
group = 'org.springframework.pulsar'
|
|
configurations.all {
|
|
resolutionStrategy {
|
|
cacheChangingModulesFor 0, "seconds"
|
|
cacheDynamicVersionsFor 0, "seconds"
|
|
}
|
|
}
|
|
}
|
|
|
|
if (hasProperty('buildScan')) {
|
|
buildScan {
|
|
termsOfServiceUrl = 'https://gradle.com/terms-of-service'
|
|
termsOfServiceAgree = 'yes'
|
|
}
|
|
}
|
|
|
|
nohttp {
|
|
allowlistFile = project.file('src/nohttp/allowlist.lines')
|
|
source.exclude "**/bin/**"
|
|
source.exclude "**/build/**"
|
|
source.exclude "**/out/**"
|
|
source.exclude "**/target/**"
|
|
}
|
|
|
|
check {
|
|
dependsOn checkstyleNohttp
|
|
}
|