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.6.0 (latest)

0.6.0

Created 01 March 2023.

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. See https://github.com/pdvrieze/gradle-codegen for documentation

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

apply plugin: "net.devrieze.gradlecodegen"

Learn how to apply plugins to subprojects