kopia lustrzana https://github.com/bertrik/ttnhabbridge
Move PMD configuration to top level build.gradle file and explicitly specify version.
rodzic
94f6d0fc4e
commit
f16a42d61d
|
@ -1,4 +1,2 @@
|
|||
apply plugin: 'pmd'
|
||||
|
||||
dependencies {
|
||||
}
|
||||
|
|
|
@ -8,6 +8,7 @@ apply from:'dependencies.gradle'
|
|||
subprojects {
|
||||
apply plugin: "java"
|
||||
apply plugin: "eclipse"
|
||||
apply plugin: "pmd"
|
||||
|
||||
targetCompatibility = 1.8
|
||||
targetCompatibility = 1.8
|
||||
|
@ -16,6 +17,10 @@ subprojects {
|
|||
mavenCentral()
|
||||
}
|
||||
|
||||
pmd {
|
||||
toolVersion = "5.8.1"
|
||||
}
|
||||
|
||||
// Standard libraries added to all projects
|
||||
dependencies {
|
||||
testCompile libraries.junit
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
apply plugin: "application"
|
||||
apply plugin: 'pmd'
|
||||
|
||||
mainClassName = 'nl.sikken.bertrik.TtnHabBridge'
|
||||
|
||||
|
@ -11,12 +10,6 @@ dependencies {
|
|||
compile libraries.jersey_client
|
||||
}
|
||||
|
||||
pmd {
|
||||
//toolVersion = "5.2.1"
|
||||
ruleSetFiles = files("pmd-ruleset.xml")
|
||||
ruleSets = []
|
||||
}
|
||||
|
||||
//Add configuration folder to classpath:
|
||||
startScripts {
|
||||
classpath += files('../cfg')
|
||||
|
|
Ładowanie…
Reference in New Issue