com.github.spotbugs
Owner: Kengo TODA
Performs quality checks on your project's Java source files using SpotBugs and generates reports from these checks
https://github.com/spotbugs/spotbugs-gradle-plugin
Sources: https://github.com/spotbugs/spotbugs
Version 6.0.27 (latest)
Created 19 December 2024.
A Gradle plugin that runs static bytecode analysis by SpotBugs
Add this plugin to your build using the plugins DSL:
plugins {
id("com.github.spotbugs") version "6.0.27"
}
See also:
-
Adding the plugin to build logic for usage in precompiled script plugins.
See the relevant documentation for more information.
Add this plugin as a dependency to
<convention-plugins-build>/build.gradle(.kts)
:dependencies { implementation("com.github.spotbugs:com.github.spotbugs.gradle.plugin:6.0.27") }
It can then be applied in the precompiled script plugin:plugins { id("com.github.spotbugs") }
-
The legacy method of plugin application.
See the relevant documentation for more information.buildscript { repositories { gradlePluginPortal() } dependencies { classpath("com.github.spotbugs:com.github.spotbugs.gradle.plugin:6.0.27") } } apply(plugin = "com.github.spotbugs")
- Applying plugins to all subprojects .