https used for maven download gradle version changed to 4.6 errorprone changed to 2.2.0 findbug replaced by spotbugs
21 lines
455 B
Groovy
21 lines
455 B
Groovy
apply plugin: 'checkstyle'
|
|
apply plugin: 'com.github.spotbugs'
|
|
apply plugin: 'net.ltgt.errorprone'
|
|
|
|
dependencies {
|
|
errorprone "com.google.errorprone:error_prone_core:2.2.0"
|
|
}
|
|
|
|
checkstyle {
|
|
configProperties.checkstyleConfigDir = "."
|
|
configFile = new File(rootDir, 'checkstyle.xml')
|
|
ignoreFailures false
|
|
toolVersion = '6.7'
|
|
}
|
|
|
|
spotbugs {
|
|
toolVersion = '3.1.1'
|
|
ignoreFailures true
|
|
omitVisitors = ['RuntimeExceptionCapture']
|
|
}
|