Search Gradle plugins

net.devrieze.gradlecodegen

A plugin to aid with codeGeneration without using buildSrc. It provides an additional generate section to sourceSets. In this section individual files to be generated can be specified. Each sourceset has an accompanying ...generator sourceSet where the actual generator source can live.

https://github.com/pdvrieze/gradle-codegen.git

Sources: https://github.com/pdvrieze/gradle-codegen.git

Version 0.5

Created 13 April 2016.

A plugin to aid with codeGeneration without using buildSrc. It provides an additional generate section to sourceSets. In this section individual files to be generated can be specified. Each sourceset has an accompanying ...generator sourceSet where the actual generator source can live.

Using the plugins DSL:

plugins {
  id("net.devrieze.gradlecodegen") version "0.5"
}

Using legacy plugin application:

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

apply(plugin = "net.devrieze.gradlecodegen")

Using the plugins DSL:

plugins {
  id "net.devrieze.gradlecodegen" version "0.5"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.net.devrieze:gradle-codegen:0.5"
  }
}

apply plugin: "net.devrieze.gradlecodegen"

Learn how to apply plugins to subprojects