FINERACT-402-Integrate PMD and Findbugs with Fineract

This commit is contained in:
Nazeer Hussain Shaik
2017-02-23 15:09:25 +05:30
parent 3125946c2e
commit 8c5cf0667f
+10
View File
@@ -49,6 +49,8 @@ apply plugin: 'tomcat'
apply plugin: 'project-report'
apply plugin: 'java'
apply plugin: 'openjpa'
apply plugin: 'pmd'
apply plugin: 'findbugs'
/* define the valid syntax level for source files */
sourceCompatibility = JavaVersion.VERSION_1_8
@@ -243,6 +245,14 @@ task dist(type:Zip){
compileJava{
dependsOn rat
}
pmd {
sourceSets = [sourceSets.main]
ignoreFailures = true
}
findbugs {
ignoreFailures = true
sourceSets = [sourceSets.main]
}
war {
from('../licenses/binary/') { // notice the parens