Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A gradle plugin for the Velocity preprocessor.
Java
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
codequality
gradle
src
.gitignore
LICENSE
README.md
build.gradle
gradle.properties
gradlew
gradlew.bat
settings.gradle

README.md

Introduction

This is a gradle plugin which supports Velocity preprocessing of source files.

Usage:

To apply a default configuration which preprocesses src/main/velocity into build/generated-sources/velocity:

buildscript {
    dependencies {
        classpath 'org.anarres.gradle:gradle-velocity-plugin:[1.0.0,)'
    }
}

apply plugin: 'velocity'

velocity {
    includeDir ...

    context {
        // Configure a HashMap with context values.
    }
}

For more advanced usage:

task('customVpp', type: VelocityTask) {
    // ...
}

API Documentation

The JavaDoc API is also available.

Something went wrong with that request. Please try again.