Gradle is a newer build and deployment automation tool for Java projects. It comes with a rich Domain Specific Language (DSL), based on Groovy, to write our build scripts and also to extend Gradle itself.
Installing Gradle is similar to installing Ant and Maven. We download the binary distribution, unpack it, and add the bin to the PATH
. The commands to install Gradle are as follows:
wget http://services.gradle.org/distributions/gradle-1.10-bin.zip unzip gradle-1.10-bin.zip export GRADLE_HOME=/usr/local/gradle-1.10 export PATH=$GRADLE_HOME/bin:$PATH gradle -v