Search Gradle plugins

Version 0.21 (latest)

0.21

Created 03 February 2019.

Gradle plugin making it easier/safer to use Java annotation processors

Using the plugins DSL:

plugins {
  id("net.ltgt.apt") version "0.21"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

plugins {
  id "net.ltgt.apt" version "0.21"
}

Using legacy plugin application:

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

apply plugin: "net.ltgt.apt"

Learn how to apply plugins to subprojects