Search Gradle plugins

Using the plugins DSL:

plugins {
  id("name.remal.findbugs-settings") version "0.29.6"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.name.remal:gradle-plugins:0.29.6")
  }
}

apply(plugin = "name.remal.findbugs-settings")

Using the plugins DSL:

plugins {
  id "name.remal.findbugs-settings" version "0.29.6"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.name.remal:gradle-plugins:0.29.6"
  }
}

apply plugin: "name.remal.findbugs-settings"

Learn how to apply plugins to subprojects