Search Gradle plugins

Version 4.1.0 (latest)

4.1.0

Created 20 October 2024.

Gradle plugin to use Error Prone with the Java compiler

Using the plugins DSL:

plugins {
  id("net.ltgt.errorprone") version "4.1.0"
}

Using legacy plugin application:

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

apply(plugin = "net.ltgt.errorprone")

Using the plugins DSL:

plugins {
  id "net.ltgt.errorprone" version "4.1.0"
}

Using legacy plugin application:

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

apply plugin: "net.ltgt.errorprone"

Learn how to apply plugins to subprojects