Articles → DevOps → Configure Gradle In Linux
Configure Gradle In Linux
Steps
- Download the latest version of gradle from the following link - https://gradle.org/releases/
Click to Enlarge
- Transfer the file to the Linux server.
- Unzip the file using the following command.
- Copy (or move) the folder to the desired location (preferably in the Opt folder).
- Set the environment variable using the following commands.
export GRADLE_HOME=/opt/gradle-6.7
export PATH=$PATH:$GRADLE_HOME/bin