groovy
plugins {
id 'java'
}
spotbugs {
toolVersion = '4.3.0'
reportsDir = file("$buildDir/reports/spotbugs")
includeFilter = file('spotbugs.include')
excludeFilter = file('spotbugs.exclude')
}
dependencies {
spotbugsPlugins 'com.h3xstream.findsecbugs:findsecbugs-plugin:1.10.1'
}
check.dependsOn 'spotbugsMain'