Search Gradle plugins

Add this plugin to your build using the plugins DSL:

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

See also:

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