Skip to content

Gradle plugin to perform templating during the Gradle build.

License

Notifications You must be signed in to change notification settings

arocnies/gradle-template

Repository files navigation

Gradle Template Plugin

Template files during a gradle build.

Usage

plugins {
    id('dev.anies.gradle.template')
}

tasks.register("template", TemplateTask) {
    data += [key: "value"]
    from('src/templates')
    into('build/templates')
}

Template Engines

Currently the only available engine is Freemarker, which is used by default.

Other engines are in progress with partial implementations completed.

Engines:

  • Freemarker: Available
  • Velocity: Implemented & Unavailable
  • Thymeleaf: Planned
  • Pebble: Planned

About

Gradle plugin to perform templating during the Gradle build.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages