chore: fix PMD warnings and improve code quality

This commit is contained in:
2026-03-09 23:30:45 +01:00
parent 2dd3a687a5
commit 32ddfa988b
6 changed files with 40 additions and 18 deletions

View File

@@ -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)