Search Gradle plugins

com.github.spotbugs

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

Version 1.6.6

Created 08 December 2018.

Performs quality checks on your project's Java source files using SpotBugs and generates reports from these checks

Using the plugins DSL:

plugins {
  id "com.github.spotbugs" version "1.6.6"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.github.spotbugs:spotbugs-gradle-plugin:1.6.6"
  }
}

apply plugin: "com.github.spotbugs"

Using the plugins DSL:

plugins {
  id("com.github.spotbugs") version "1.6.6"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.com.github.spotbugs:spotbugs-gradle-plugin:1.6.6")
  }
}

apply(plugin = "com.github.spotbugs")

Learn how to apply plugins to subprojects