Upgrade the SpotBugs tool version

MSAL

Raise a literal toolVersion of the SpotBugs Gradle plugin to newVersion, preserving newer versions. Where a build script declares a SpotBugs plugin older than 6.2.4 and sets no toolVersion, set one, since the default tool of those plugin versions cannot read Java 25 class files.

org.openrewrite.gradle.migrate.quality.UpgradeSpotBugsToolVersion

Required

An exact version or node-style semver selector for the SpotBugs tool.

mod run . --recipe=org.openrewrite.gradle.migrate.quality.UpgradeSpotBugsToolVersion \ -P newVersion=4.9.x

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.