bestpractices
This commit is contained in:
parent
45d5089742
commit
adb1db2492
|
@ -1,7 +1,7 @@
|
||||||
plugins {
|
plugins {
|
||||||
id 'java-gradle-plugin'
|
id 'java-gradle-plugin'
|
||||||
id 'checkstyle'
|
id 'checkstyle'
|
||||||
id 'pmd'
|
// id 'pmd'
|
||||||
}
|
}
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
|
@ -65,6 +65,6 @@ test {
|
||||||
|
|
||||||
jar.dependsOn check
|
jar.dependsOn check
|
||||||
|
|
||||||
pmd {
|
//pmd {
|
||||||
ruleSets = ["category/java/bestpractices.xml"]
|
// ruleSets = ["category/java/bestpractices.xml"]
|
||||||
}
|
//}
|
|
@ -3,6 +3,7 @@ import org.springframework.build.shadow.ShadowSource
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
id 'org.springframework.build.multiReleaseJar'
|
id 'org.springframework.build.multiReleaseJar'
|
||||||
|
id 'pmd'
|
||||||
}
|
}
|
||||||
|
|
||||||
description = "Spring Core"
|
description = "Spring Core"
|
||||||
|
@ -162,3 +163,7 @@ eclipse {
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks['eclipse'].dependsOn(javapoetRepackJar, javapoetSourceJar, objenesisRepackJar, objenesisSourceJar)
|
tasks['eclipse'].dependsOn(javapoetRepackJar, javapoetSourceJar, objenesisRepackJar, objenesisSourceJar)
|
||||||
|
|
||||||
|
pmd {
|
||||||
|
ruleSets = ["category/java/bestpractices.xml"]
|
||||||
|
}
|
Loading…
Reference in New Issue