chore: fix PMD warnings and improve code quality
This commit is contained in:
11
build.gradle
11
build.gradle
@@ -12,6 +12,17 @@ configurations {
|
||||
mockitoAgent
|
||||
}
|
||||
|
||||
pmd {
|
||||
consoleOutput = true
|
||||
toolVersion = '7.20.0'
|
||||
sourceSets = [sourceSets.main]
|
||||
ruleSetFiles = files(rootProject.file(".ruleset"))
|
||||
}
|
||||
|
||||
tasks.withType(Pmd) {
|
||||
maxHeapSize = "16g"
|
||||
}
|
||||
|
||||
java {
|
||||
toolchain {
|
||||
languageVersion = JavaLanguageVersion.of(21)
|
||||
|
||||
Reference in New Issue
Block a user