20 lines
381 B
Groovy
20 lines
381 B
Groovy
apply plugin: 'checkstyle'
|
|||
|
|
apply plugin: 'findbugs'
|
||
|
|
|
||
|
|
checkstyle {
|
||
|
|
configProperties.checkstyleConfigDir = "."
|
||
|
|
configFile = new File(rootDir, 'checkstyle.xml')
|
||
|
|
ignoreFailures false
|
||
|
|
toolVersion = '6.7'
|
||
|
|
}
|
||
|
|
|
||
|
|
findbugs {
|
||
|
|
toolVersion = '3.0.1'
|
||
|
|
ignoreFailures true
|
||
|
|
omitVisitors = ['RuntimeExceptionCapture']
|
||
|
|
}
|
||
|
|
|
||
|
|
tasks.withType(FindBugs) {
|
||
|
|
maxHeapSize = '2g'
|
||
|
|
}
|