Effort
The Effort is configuration to adjust SpotBugs detectors. Use lower effort to reduce computation cost.
Usage
Set via the spotbugs extension to configure all tasks in your project:
// require Gradle 8.2+
spotbugs {
effort = com.github.spotbugs.snom.Effort.LESS
}Content copied to clipboard
Or via SpotBugsTask to configure the specific task in your project:
// require Gradle 8.2+
spotbugsMain { // or name of another task
effort = com.github.spotbugs.snom.Effort.MAX
}Content copied to clipboard
See also SpotBugs Manual.