
gradle userguide suggests to avoid allprojects/subprojects and use conventions instead https://docs.gradle.org/current/userguide/sharing_build_logic_between_subprojects.html#sec:convention_plugins_vs_cross_configuration
25 lines
429 B
Groovy
25 lines
429 B
Groovy
plugins {
|
|
id 'java'
|
|
id 'checkstyle'
|
|
id 'pmd'
|
|
id 'brouter.version-conventions'
|
|
}
|
|
|
|
group 'org.btools'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
testImplementation 'junit:junit:4.13.2'
|
|
}
|
|
|
|
pmd {
|
|
consoleOutput = true
|
|
toolVersion = '7.0.0'
|
|
rulesMinimumPriority = 5
|
|
ruleSetFiles = files("${rootProject.rootDir}/config/pmd/pmd-ruleset.xml")
|
|
ruleSets = []
|
|
// ignoreFailures = true
|
|
}
|