Created
August 1, 2023 15:23
-
-
Save bazuzu931/f52866d69b7530cf04d2dd60afecc482 to your computer and use it in GitHub Desktop.
install gradle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt install default-jdk -y | |
java --version | |
wget -c https://services.gradle.org/distributions/gradle-7.4.2-bin.zip -P /tmp | |
sudo unzip -d /opt/gradle /tmp/gradle-7.4.2-bin.zip | |
sudo nano /etc/profile.d/gradle.sh | |
export GRADLE_HOME=/opt/gradle/gradle-7.4.2 | |
export PATH=${GRADLE_HOME}/bin:${PATH} | |
sudo chmod +x /etc/profile.d/gradle.sh | |
source /etc/profile.d/gradle.sh | |
gradle --version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment