uk.co.scottdennison.java.gradle.plugin.velocity
Owner: Scott Dennison
Provides a task for processing velocity templates into java source files. Allows for custom context data and template file combinations to be specified.
https://dev.scottdennison.co.uk/language/java/project/gradle/plugin/velocity
Sources: https://github.com/ScottDennison/uk.co.scottdennison.java.gradle.plugin.velocity
Version 0.1-SNAPSHOT (latest)
Created 15 August 2020.
Provides a task for processing velocity templates into java source files. Allows for custom context data and template file combinations to be specified.
Add this plugin to your build using the plugins DSL:
plugins {
id("uk.co.scottdennison.java.gradle.plugin.velocity") version "0.1-SNAPSHOT"
}
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("uk.co.scottdennison.java.gradle.plugin.velocity:uk.co.scottdennison.java.gradle.plugin.velocity.gradle.plugin:0.1-SNAPSHOT") }
It can then be applied in the precompiled script plugin:plugins { id("uk.co.scottdennison.java.gradle.plugin.velocity") }
-
The legacy method of plugin application.
See the relevant documentation for more information.buildscript { repositories { gradlePluginPortal() } dependencies { classpath("uk.co.scottdennison.java.gradle.plugin.velocity:uk.co.scottdennison.java.gradle.plugin.velocity.gradle.plugin:0.1-SNAPSHOT") } } apply(plugin = "uk.co.scottdennison.java.gradle.plugin.velocity")
- Applying plugins to all subprojects .