Gradle Installation

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.



brew install gradle

Will install Gradle in /usr/local/Cellar/gradle/<gradle-version>

brew upgrade gradle

Install a Specific Version

With Brew

To install a specific version with brew, follow the procedure described here and adjust for Gradle:

Install a Specific Package (Formula) Version with brew


To install a specific version as downloaded from the web site:

sudo mkdir /usr/local/manual
sudo mv ~/Downloads/  .
sudo unzip 
sudo ln -s ./gradle-6.2.2 gradle
export PATH=/usr/local/manual/gradle/bin:${PATH}
gradle --version