Created
March 11, 2017 10:48
-
-
Save dmytrodanylyk/23a027ac45b2e40673a4b9d00360a26d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apply plugin: 'pmd' | |
task pmd(type: Pmd) { | |
ruleSetFiles = files("$project.rootDir/tools/rules-pmd.xml") | |
source = fileTree('src/main/java/') | |
reports { | |
xml.enabled = false | |
html.enabled = true | |
html.destination = "$project.buildDir/outputs/pmd/pmd.html" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment