관리 메뉴

필사(筆寫)

Gradle 학습용 페이지 본문

고민흔적

Gradle 학습용 페이지

코딩필사 2023. 8. 28. 01:52

Gradle User Manual

 

Gradle User Manual

Gradle Build Tool is a fast, dependable, and adaptable open-source build automation tool with an elegant and extensible declarative build language. In this User Manual, Gradle Build Tool is abbreviated Gradle.

docs.gradle.org

학습해야할 구간이 하나 더 늘어있네. 쉽지 않은 세상이야...

 

안드로이드 진저브레드 세대가 보지 못했던 여러 빌드 옵션들을 보고있는데...

 

Groovy에서 KTS로 빌드 구성 이전  |  Android 개발자  |  Android Developers

 

Groovy에서 KTS로 빌드 구성 이전  |  Android 개발자  |  Android Developers

Gradle 구성 파일을 Groovy에서 KTS로 이전합니다.

developer.android.com

 

빌더 옵션과 의존성관리 툴을 아애 통째로 바꾼 개념이 된듯한데, 아래를 참조해서 진행해야 하는듯.

안녕, 처음이네.

 

Gradle Kotlin DSL Primer

 

Gradle Kotlin DSL Primer

Gradle’s Kotlin DSL provides an alternative syntax to the traditional Groovy DSL with an enhanced editing experience in supported IDEs, with superior content assist, refactoring, documentation, and more. This chapter provides details of the main Kotlin D

docs.gradle.org

 

각각의 라이브러리 의존성을 관리해주기도하고, 컴파일 옵션 정보 빌드설정팩을 묶어주는 역할을 한다.

 

Grandle Scripts 구간에 배치된 파일들 의미

 

kts 파일(kotlin 용 설정파일) 

project 폴더 루트에 있고, app 폴더 루트에 3개가 존재한다.

빌드용 2개, 프로젝트 세팅용 1개

 

properties 파일

프로젝트와 SDK 관련된 환경설정변수값을 저장해두는 기능

 

그래, 웹쪽도 비슷한 친구가 있어 얀과 npm, npx, yo...