Gradle Velocity Plugin is an open-source tool made for the Gradle project. It helps you work with Velocity preprocessing on any system where Java is up and running.
This plugin brings Apache’s Velocity template engine right into Gradle. To get started, you'll need to set up a basic configuration that will turn your src/main/velocity
files into build/generated-sources/velocity
. Sounds simple, right?
If you want to use this plugin, just download the latest version from Softpedia, save it on your computer, and unzip the file. Here’s a quick example of how to use it:
buildscript {
dependencies {
compile 'org.anarres.gradle:gradle-velocity-plugin:1.0.0'
}
}
apply plugin: 'velocity'
velocity {
context {
// Set up a HashMap with your context values.
}
}
You can also do some more complex things like this:
task('customVpp', type: VelocityTask) {
// Add your custom task details here.
}
If you're looking for more details about what this plugin can do or need extra examples, make sure to check out the project's API documentation at API Documentation.
This program is built entirely in Java and works with the latest versions of Gradle. So whether you're on Linux or any other OS with both Gradle and Java Runtime Environment (JRE), you’re good to go!
The plugin has been tested successfully across several Linux distributions on both 32-bit and 64-bit systems. You can grab it as a universal source archive too! This lets you tweak it for whatever platform or operating system you’re using.
Go to the Softpas website, press the 'Downloads' button, and pick the app you want to download and install—easy and fast!
SoftPas is your platform for the latest software and technology news, reviews, and guides. Stay up to date with cutting-edge trends in tech and software development.
Subscribe to newsletter
© Copyright 2024, SoftPas, All Rights Reserved.