Repository: incubator-fineract Updated Branches: refs/heads/develop 3125946c2 -> 8c5cf0667
FINERACT-402-Integrate PMD and Findbugs with Fineract Project: http://git-wip-us.apache.org/repos/asf/incubator-fineract/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-fineract/commit/8c5cf066 Tree: http://git-wip-us.apache.org/repos/asf/incubator-fineract/tree/8c5cf066 Diff: http://git-wip-us.apache.org/repos/asf/incubator-fineract/diff/8c5cf066 Branch: refs/heads/develop Commit: 8c5cf0667f3b978b2d19080318d7cfcf57a18290 Parents: 3125946 Author: Nazeer Hussain Shaik <nazeer.sh...@confluxtechnologies.com> Authored: Thu Feb 23 15:09:25 2017 +0530 Committer: Nazeer Hussain Shaik <nazeer.sh...@confluxtechnologies.com> Committed: Thu Feb 23 15:09:25 2017 +0530 ---------------------------------------------------------------------- fineract-provider/build.gradle | 10 ++++++++++ 1 file changed, 10 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-fineract/blob/8c5cf066/fineract-provider/build.gradle ---------------------------------------------------------------------- diff --git a/fineract-provider/build.gradle b/fineract-provider/build.gradle index 1aa760b..331a417 100644 --- a/fineract-provider/build.gradle +++ b/fineract-provider/build.gradle @@ -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