Applies SpotBugs with Helix reporting defaults for main, test, and optional test source sets.
- Applies com.github.spotbugs.
- Sets reportLevel to HIGH and keeps ignoreFailures disabled.
- Generates HTML reports for main and test, and also for integration, regression, or functional source sets when those plugins are present.
- Adds SpotBugs and JCIP annotations as compileOnly dependencies.
Usage
build.gradle
Groovy DSL
plugins {
id 'com.helixframework.quality-spotbugs'
}
build.gradle.kts
Kotlin DSL
plugins {
id("com.helixframework.quality-spotbugs")
}
Configuration
No Helix-specific extension is added by this plugin.
Default Behavior
- No Helix-specific extension is added.
- The underlying spotbugs extension is preconfigured with fail-fast quality defaults and HTML report locations.