Search Gradle plugins

Add this plugin to your build using the plugins DSL:

plugins {
  id("com.github.spotbugs-base") version "5.0.1"
}

See also:

  • The legacy method of plugin application.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("com.github.spotbugs.snom:spotbugs-gradle-plugin:5.0.1")
      }
    }
    
    apply(plugin = "com.github.spotbugs-base")
  • Applying plugins to all subprojects .