FINERACT-402-Integrate PMD and Findbugs with Fineract
This commit is contained in:
@@ -49,6 +49,8 @@ apply plugin: 'tomcat'
|
|||||||
apply plugin: 'project-report'
|
apply plugin: 'project-report'
|
||||||
apply plugin: 'java'
|
apply plugin: 'java'
|
||||||
apply plugin: 'openjpa'
|
apply plugin: 'openjpa'
|
||||||
|
apply plugin: 'pmd'
|
||||||
|
apply plugin: 'findbugs'
|
||||||
|
|
||||||
/* define the valid syntax level for source files */
|
/* define the valid syntax level for source files */
|
||||||
sourceCompatibility = JavaVersion.VERSION_1_8
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
||||||
@@ -243,6 +245,14 @@ task dist(type:Zip){
|
|||||||
compileJava{
|
compileJava{
|
||||||
dependsOn rat
|
dependsOn rat
|
||||||
}
|
}
|
||||||
|
pmd {
|
||||||
|
sourceSets = [sourceSets.main]
|
||||||
|
ignoreFailures = true
|
||||||
|
}
|
||||||
|
findbugs {
|
||||||
|
ignoreFailures = true
|
||||||
|
sourceSets = [sourceSets.main]
|
||||||
|
}
|
||||||
|
|
||||||
war {
|
war {
|
||||||
from('../licenses/binary/') { // notice the parens
|
from('../licenses/binary/') { // notice the parens
|
||||||
|
|||||||
Reference in New Issue
Block a user