]> git.proxmox.com Git - ceph.git/blame - ceph/src/jaegertracing/thrift/lib/java/gradle/codeQualityChecks.gradle
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / jaegertracing / thrift / lib / java / gradle / codeQualityChecks.gradle
CommitLineData
f67539c2
TL
1
2// =================================================================
3// Configure the Gradle code quality plugins here.
4//
5
6apply plugin: 'findbugs'
7
8findbugs {
9 ignoreFailures = true
10 toolVersion = '3.0.1'
11 sourceSets = [ sourceSets.main ]
12 effort = 'max'
13 reportLevel = 'low'
14 excludeFilter = file('code_quality_tools/findbugs-filter.xml')
15}
16
17tasks.withType(FindBugs) {
18 reports {
19 text.enabled = false
20 html.enabled = true
21 xml.enabled = false
22 }
23}
24
25apply plugin: 'pmd'
26
27pmd {
28 ignoreFailures = true
29 toolVersion = '6.0.0'
30 sourceSets = [ sourceSets.main ]
31 ruleSets = [ 'java-basic' ]
32}
33
34tasks.withType(Pmd) {
35 reports {
36 html.enabled = true
37 xml.enabled = false
38 }
39}