Search Gradle plugins

dev.anies.gradle.template

Adds templating tasks for use in Gradle builds. Templating engines include: Freemarker. WIP: Velocity, Thymeleaf, Pebble, KorTE

https://github.com/arocnies/gradle-template

Sources: https://github.com/arocnies/gradle-template

Version 0.0.2 (latest)

Created 08 March 2022.

Adds templating tasks for use in Gradle builds. Templating engines include: Freemarker. WIP: Velocity, Thymeleaf, Pebble, KorTE

Add this plugin to your build using the plugins DSL:

plugins {
  id("dev.anies.gradle.template") version "0.0.2"
}

See also:

  • Adding the plugin to build logic for usage in precompiled script plugins.

    See the relevant documentation for more information.

    Add this plugin as a dependency to <convention-plugins-build>/build.gradle(.kts):

    dependencies {
      implementation("dev.anies.gradle.template:dev.anies.gradle.template.gradle.plugin:0.0.2")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("dev.anies.gradle.template")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("dev.anies.gradle.template:dev.anies.gradle.template.gradle.plugin:0.0.2")
      }
    }
    
    apply(plugin = "dev.anies.gradle.template")
  • Applying plugins to all subprojects .