How to Install and Configure Gradle

June 11, 2020 Liquid Web

Gradle is a high-performance open-source build automation tool that makes it possible to build just about any type of software. It is highly configurable and extensible via a well-developed plugin ecosystem. Because build automation is an integral part of the consistent delivery of software projects, Gradle integrates seamlessly with multiple IDE’s, including Android Studio. 

In this video, we describe how to install and configure Gradle on Linux, Mac and Windows.

Commands used:

Linux/Mac:
mkdir /opt/gradle
curl -L https://services.gradle.org/distributions/gradle-6.5-bin.zip --output gradle.zip
unzip -d /opt/gradle/ gradle.zip
apt install unzip
echo PATH=$PATH:/opt/gradle/gradle-6.5/bin > /etc/profile.d/gradle.sh
source /etc/profile.d/gradle.sh
gradle -v

Windows:
mkdir C:\Gradle
curl -L https://services.gradle.org/distributions/gradle-6.5-bin.zip --output C:\Gradle\gradle.zip
navigate to the C:\Gradle directory
right-clicking the file and selecting “Extract All
Right-click “This PC” in the File Explorer and select “Properties”:
In the System menu, select Advanced system settings
In the System Properties dialog hit the “Environment Variables..." button
Find “Path” under the “System variables” header and select it and hit the “Edit” button
After that, hit the “New” button enter C:\Gradle\gradle-6.5\bin then hit the “OK” button to save the new variable
gradle -v

Video by: Justin Palmer

About the Author

Liquid Web

Liquid Web powers online content, commerce, and potential for SMB entrepreneurs and the designers, developers and digital agencies who create for them. Sign up for our newsletter to stay up to date with our latest content.

More Content by Liquid Web
Previous Video
Copying a Database Table with PhpMyAdmin
Copying a Database Table with PhpMyAdmin

In this video, we describe how to copy a databse in PhpMyAdmin.

Next Video
How to Install Node.js on Windows
How to Install Node.js on Windows

In this video, we describe how to install Node.js on Windows.

Learn What Qualities to Look for in Your Next Host in Our New Guide!

Download Now