December 22, 2020 / Nirav Shah
According to Wikipedia, Gradle is a build automation tool for multi-language software development. It controls the development process in the tasks of compilation and packaging to testing, deployment, and publishing.
Its main features are
Prerequisites
Gradle requires a Java JDK version 7 or higher to run Install Gradle in ubuntu machine,
Step: 1
Download and install Gradle,
$wget https://services.gradle.org/distributions/gradle-5.0-bin.zip
Step:2
Unpack the distribution First, create a directory and unzip the file
$sudo mkdir /opt/gradle
Extract the file to the newly created directory
unzip -d /opt/gradle gradle-5.0-bin.zip
You can view the directly it by below command,
$ls /opt/gradle/gradle-5.0
Step: 3
To run Gradle, first, add the environment variable GRADLE_HOME.
$export PATH=$PATH:/opt/gradle/gradle-5.0/bin
Step: 4
Verify the version,
$gradle -v
Congratulations, if you see something like that then, Gradle is successfully installed on your server.
Conclusion:
Gradle is an open-source build automation tool that is designed to be flexible enough to build almost any type of software and we saw how to install it in a ubuntu server.
As a Director of Eternal Web Private Ltd an AWS consulting partner company, Nirav is responsible for its operations. AWS, cloud-computing and digital transformation are some of his favorite topics to talk about. His key focus is to help enterprises adopt technology, to solve their business problem with the right cloud solutions.
Have queries about your project idea or concept? Please drop in your project details to discuss with our AWS Global Cloud Infrastructure service specialists and consultants.