Search Gradle plugins

net.ltgt.apt

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

https://github.com/tbroyer/gradle-apt-plugin

Version 0.21 (latest)

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 "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 = uri("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