mkdir /app/gradle
cd /app/gradle
wget https://services.gradle.org/distributions/gradle-5.4.1-all.zip
sudo unzip -d /opt/gradle gradle-5.4.1-all.zip
sudo vim /etc/profile.d/gradle.sh
export GRADLE_HOME=/opt/gradle/gradle-5.4.1
export PATH=${GRADLE_HOME}/bin:${PATH}
sudo chmod +x /etc/profile.d/gradle.sh
sudo source /etc/profile.d/gradle.sh
gradle -v
------------------------------------------------------------
Gradle 5.4.1
------------------------------------------------------------
Build time: 2019-04-26 08:14:42 UTC
Revision: 261d171646b36a6a28d5a19a69676cd098a4c19d
Kotlin: 1.3.21
Groovy: 2.5.4
Ant: Apache Ant(TM) version 1.9.13 compiled on July 10 2018
JVM: 1.8.0_265 (Oracle Corporation 25.265-b01)
OS: Linux 4.14.209-160.339.amzn2.x86_64 amd64
'OS > Linux' 카테고리의 다른 글
FFMPEG Compile on Ubuntu (0) | 2021.03.05 |
---|---|
FFMPEG Android Build (0) | 2021.03.05 |
Centos7 Crontab php 실행안됨 (0) | 2020.12.17 |
Centos7 유저한테 루트 권한 주기 (0) | 2020.09.02 |
mysql 사용자 추가, 제거 및 권한부여 (0) | 2020.03.18 |