관리 메뉴

IT.FARMER

linux (centos) gradle 설치 본문

Auto Build(CI SCM GIT)

linux (centos) gradle 설치

아이티.파머 2020. 7. 28. 12:44
반응형

centos gradle 설치

gradle 4.9 이상 버전에서 Lombok 오류 발생 4.8 이하로 다운 그레이드 필요.

Spring boot , querydsl  , lombock 등 각 모듈 버전에 따라 맞는 버전이 있음으로 각자의 버전에 맞게 설치.

 


3.1 Gradle 다운 로드

> wget https://services.gradle.org/distributions/gradle-4.8.1-bin.zip
> sudo mkdir /opt/gradle
> sudo unzip -d /opt/gradle gradle-4.8.1-bin.zip
> ls /opt/gradle/gradle-4.8.1

 

3.3. 환경 설정 추가

 > vim /etc/environment  or vim /etc/profile

export GRADLE_HOME=/opt/gradle/gradle-4.8.1

export PATH=$PATH:$GRADLE_HOME/bin

export PATH

 

3.2 버전 확인

> source /etc/environment  or  source /etc/profile

> gradle -v

반응형

'Auto Build(CI SCM GIT)' 카테고리의 다른 글

gradle nexus 연동  (0) 2023.05.25
gradle nexus repository upload, maven-publish 연동방법  (0) 2023.05.25