aasdf

Ruby code posted
created at 26 Mar 13:18

Edit | Back
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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
    }
}
835 Bytes in 3 ms with coderay