Title / Description
Code apply plugin: 'findbugs' apply plugin: 'pmd' check.dependsOn 'pmd', 'findbugs' task pmd(type: Pmd) { ignoreFailures = true ruleSetFiles = files("${project.rootDir}/config/quality/pmd/pmd-ruleset.xml") ruleSets = [] source fileTree("src/") include '**/*.java' exclude '**/gen/**' reports { xml.enabled = true html.enabled = true } } findbugs { sourceSets = [] ignoreFailures = true } task findbugs(type: FindBugs) { excludeFilter file("${project.rootDir}/config/quality/findbugs/findbugs-filter.xml") classes = fileTree("${project.rootDir}/build/intermediates/classes/debug/") source = fileTree("src/") classpath = files() effort = 'max' reports { xml.enabled = true html.enabled = false } }
Author
Highlight as C C++ CSS Clojure Delphi ERb Groovy (beta) HAML HTML JSON Java JavaScript PHP Plain text Python Ruby SQL XML YAML diff code