NOTE: This is a fork of the gradle project, where we added a pull request.
For more information look at the original gradle repository. You can install this forked version of gradle as explained below.
To create an install from the source tree you can run either of the following:
./gradlew install -Pgradle_installPath=/usr/local/gradle-source-build
This will create a minimal installation; just what's needed to run Gradle (i.e. no docs). Note that the -Pgradle_installPath denotes where to install to.
You can then build a Gradle based project with this installation:
/usr/local/gradle-source-build/bin/gradle «some task»
To create a full installation (includes docs):
./gradlew installAll -Pgradle_installPath=/usr/local/gradle-source-build
Please see the readme in the docs subproject.