Lee's Grow up

[Gradle] Window에 설치 Gradle 설치하기 본문

Build

[Gradle] Window에 설치 Gradle 설치하기

효기로그 2019. 12. 6. 15:19
반응형

Gradle


Gradle빌드 자동화 시스템으로, 빌드 툴인 Ant BuilderGroovy 스크립트 기반으로 구축
자세한 내용은 아래 위키를 참조하시길 바랍니다.

https://en.wikipedia.org/wiki/Gradle

 

Gradle - Wikipedia

Gradle is an open-source build-automation system that builds upon the concepts of Apache Ant and Apache Maven and introduces a Groovy-based domain-specific language (DSL) instead of the XML form used by Apache Maven for declaring the project configuration.

en.wikipedia.org

Gradle 설치하기


1. 다운로드

아래 그래들 공식 홈페이지에서 원하는 Releases를 complete버전으로 다운로드 해주고, 원하는 위치에 압축을 풀어줍니다.

https://gradle.org/releases/

 

Gradle | Releases

Find binaries and reference documentation for current and past versions of Gradle.

gradle.org

2. 환경설정

자바의 JDK처럼 윈도우에서 gradle를 호출하기 쉽게 PATH를 설정해줍니다.
내PC -> 속성 -> 고급 시스템 설정 -> 고급 -> 환경변수 -> Path -> 편집 후 등록
여기서 등록은 %Gradle 설치경로%\bin 으로 등록해줍니다. ( ex : C:\gradle-5.6.4\bin )

내PC 오른쪽 마우스 클릭 -> 속성 클릭
고급 시스템 설정 클릭
고급 탭 -> 환경변수 -> 시스템 또는 사용자의 Path 설정

위 과정까지 완료 되었다면 이제 cmd (커맨드창) 을 열어주고 gradle -v 를 입력해줍니다.

위 사진과 같이 버전 정보가 표시되면 설치 및 환경변수 설정이 끝납니다.

반응형
Comments