content/gradle/quality/spotbugs.gradle

20 lines
310 B
Groovy
Raw Permalink Normal View History

apply plugin: "com.github.spotbugs"
spotbugs {
toolVersion = '4.7.1'
ignoreFailures = true
}
spotbugsMain {
reports {
html {
enabled = true
destination = file("$buildDir/reports/spotbugs/main/spotbugs.html")
}
}
}
spotbugsTest {
enabled = false
}