Search Gradle plugins

Using the plugins DSL:

plugins {
  id("org.kordamp.gradle.errorprone") version "0.37.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("org.kordamp.gradle:errorprone-gradle-plugin:0.37.0")
  }
}

apply(plugin = "org.kordamp.gradle.errorprone")

Using the plugins DSL:

plugins {
  id "org.kordamp.gradle.errorprone" version "0.37.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "org.kordamp.gradle:errorprone-gradle-plugin:0.37.0"
  }
}

apply plugin: "org.kordamp.gradle.errorprone"

Learn how to apply plugins to subprojects