bestpractices

This commit is contained in:
Vincent Potucek 2025-03-26 19:22:20 +01:00
parent 45d5089742
commit adb1db2492
2 changed files with 9 additions and 4 deletions

View File

@ -1,7 +1,7 @@
plugins {
id 'java-gradle-plugin'
id 'checkstyle'
id 'pmd'
// id 'pmd'
}
repositories {
@ -65,6 +65,6 @@ test {
jar.dependsOn check
pmd {
ruleSets = ["category/java/bestpractices.xml"]
}
//pmd {
// ruleSets = ["category/java/bestpractices.xml"]
//}

View File

@ -3,6 +3,7 @@ import org.springframework.build.shadow.ShadowSource
plugins {
id 'org.springframework.build.multiReleaseJar'
id 'pmd'
}
description = "Spring Core"
@ -162,3 +163,7 @@ eclipse {
}
tasks['eclipse'].dependsOn(javapoetRepackJar, javapoetSourceJar, objenesisRepackJar, objenesisSourceJar)
pmd {
ruleSets = ["category/java/bestpractices.xml"]
}