Search Gradle plugins

Version 1.7 (latest)

Created 31 March 2021.

The Gradle Plugin for enabling NAPT javac plugin

Using the plugins DSL:

plugins {
  id "com.sergei-lapin.napt" version "1.7"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.sergei-lapin.napt:napt-gradle:1.7"
  }
}

apply plugin: "com.sergei-lapin.napt"

Using the plugins DSL:

plugins {
  id("com.sergei-lapin.napt") version "1.7"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.com.sergei-lapin.napt:napt-gradle:1.7")
  }
}

apply(plugin = "com.sergei-lapin.napt")

Learn how to apply plugins to subprojects