gradle-velocity-pluginAn Open Source and portable Gradle plugin designed to support the Velocity preprocessor | |
Download |
gradle-velocity-plugin Ranking & Summary
Advertisement
gradle-velocity-plugin Tags
gradle-velocity-plugin Description
gradle-velocity-plugin is an open source plugin for the Gradle project designed to support Velocity preprocessing of all source files on any operating system where the Java runtime environment is installed. In other words, gradle-velocity-plugin integrates Apache’s Velocity template engine intro Gradle. To use this plugin, you’ll need to create a default configuration that will preprocess the src/main/velocity directory into build/generated-sources/velocity. Here’s an example: buildscript { dependencies { compile 'org.anarres.gradle:gradle-velocity-plugin:1.0.0' } } apply plugin: 'velocity' velocity { context { // Configure a HashMap with context values. } } For more advanced usage: task('customVpp', type: VelocityTask) { // ... }
gradle-velocity-plugin Related Software