Search Gradle plugins

Version 0.2.11 (latest)

0.2.11

Created 29 March 2018.

Project custom source code generation

Using the plugins DSL:

plugins {
  id("me.gjm.gradle.sourcegenerator") version "0.2.11"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("me.gjm.gradle:source-code-generator-plugin:0.2.11")
  }
}

apply(plugin = "me.gjm.gradle.sourcegenerator")

Using the plugins DSL:

plugins {
  id "me.gjm.gradle.sourcegenerator" version "0.2.11"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "me.gjm.gradle:source-code-generator-plugin:0.2.11"
  }
}

apply plugin: "me.gjm.gradle.sourcegenerator"

Learn how to apply plugins to subprojects