in src/main/groovy/com/epam/deltix/gradle/plugins/velocity/VelocityPlugin.groovy [27:42]
void apply(Project project) {
def velocity = project.container(VelocityEntry)
project.extensions.velocity = velocity
project.afterEvaluate({
for (VelocityEntry entry in velocity) {
VelocityTask task = project.tasks.create("vpp" + entry.name, VelocityTask)
task.from = entry.from
task.to = entry.to
task.setContexts(entry.contexts)
project.tasks.getByName('compileJava').dependsOn(task)
}
})
}