Search Gradle plugins

dk.grixie.jinja2.gradle-jinja2-plugin

Gradle plugin for generating files based on Jinja2 templates. The plugin uses jinjava as template engine.

https://github.com/shamus13/gradle-jinja2-plugin

Sources: https://github.com/shamus13/gradle-jinja2-plugin

Version 0.1.2 (latest)

0.1.2

Created 22 January 2023.

Gradle plugin for generating files based on Jinja2 templates. The plugin uses jinjava as template engine.

Using the plugins DSL:

plugins {
  id("dk.grixie.jinja2.gradle-jinja2-plugin") version "0.1.2"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("dk.grixie.jinja2:gradle-jinja2-plugin:0.1.2")
  }
}

apply(plugin = "dk.grixie.jinja2.gradle-jinja2-plugin")

Using the plugins DSL:

plugins {
  id "dk.grixie.jinja2.gradle-jinja2-plugin" version "0.1.2"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "dk.grixie.jinja2:gradle-jinja2-plugin:0.1.2"
  }
}

apply plugin: "dk.grixie.jinja2.gradle-jinja2-plugin"

Learn how to apply plugins to subprojects