Gradle is a Groovy-based DSL (versus the traditional XML-based) build automation tool. It makes use of Directed Acyclic Graph (DAG) to determine the order in which tasks are to be run.
For a detailed understanding, please read the wiki entry.
Steps to Install
1) Java 1.5 or above should be installed. Please verify this using the java -version command. If Java is installed, you should see the version; else java is unidentified command message will appear
2) Download the latest binaries from the gradle website.
3) Unzip the gradle-<version>-bin.zip contents to your favorite folder – say – /User/gradle
4) For Mac, modify the PATH variable in .profile file to include gradle.
For Windows, modify the PATH variable in the Environment variables to include gradle.
(NOTE: If .profile does not exist, please create one)
5) On the Terminal (or command prompt), type gradle -version
If everything went well, the gradle version should appear.