bestpractices
This commit is contained in:
parent
45d5089742
commit
adb1db2492
|
@ -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"]
|
||||
//}
|
|
@ -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"]
|
||||
}
|
Loading…
Reference in New Issue