* Changing default timeout for start maintenance. * Upgrading dependencies to gorealis v2 and thrift 0.12.0 * Refactored to update to gorealis v2.
40 lines
786 B
Groovy
40 lines
786 B
Groovy
|
|
// =================================================================
|
|
// Configure the Gradle code quality plugins here.
|
|
//
|
|
|
|
apply plugin: 'findbugs'
|
|
|
|
findbugs {
|
|
ignoreFailures = true
|
|
toolVersion = '3.0.1'
|
|
sourceSets = [ sourceSets.main ]
|
|
effort = 'max'
|
|
reportLevel = 'low'
|
|
excludeFilter = file('code_quality_tools/findbugs-filter.xml')
|
|
}
|
|
|
|
tasks.withType(FindBugs) {
|
|
reports {
|
|
text.enabled = false
|
|
html.enabled = true
|
|
xml.enabled = false
|
|
}
|
|
}
|
|
|
|
apply plugin: 'pmd'
|
|
|
|
pmd {
|
|
ignoreFailures = true
|
|
toolVersion = '6.0.0'
|
|
sourceSets = [ sourceSets.main ]
|
|
targetJdk = sourceCompatibility
|
|
ruleSets = [ 'java-basic' ]
|
|
}
|
|
|
|
tasks.withType(Pmd) {
|
|
reports {
|
|
html.enabled = true
|
|
xml.enabled = false
|
|
}
|
|
}
|