class VelocityPlugin extends java.lang.Object
A Gradle plug-in for working with Velocity templates.
| Type | Name and description |
|---|---|
org.gradle.api.internal.file.FileResolver |
fileResolver |
| Constructor and description |
|---|
VelocityPlugin
(org.gradle.api.internal.file.FileResolver fileResolver) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
void |
apply(org.gradle.api.Project project)Applies the plug-in to the parameter project. |
|
org.gradle.api.Task |
createTemplatesTask(org.gradle.api.Project project)Creates a Velocity template instantiation task named velocity. |
|
org.gradle.api.Task |
createTemplatesTask(org.gradle.api.Project project, java.lang.String name)Creates a Velocity template instantiation task with the parameter name. |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Applies the plug-in to the parameter project.
project - The project to apply the plug-in to Creates a Velocity template instantiation task named velocity.
project - The project to create the task forCreates a Velocity template instantiation task with the parameter name.
project - The project to create the task forname - The name of the task to createGroovy Documentation