본문 바로가기

Android(Kotlin)

[Android] build.gradle 이란?

설정값들을 담아놓은 파일이다.

 

제작하려는 어플에 들어가는 각종 라이브러리 등 버전에 대한 설정이 필요할때 커스텀 빌드를 가능케 해준다.

 

이 어플에서 가져와 쓸 사용자들이 만들어놓은 라이브러리 같은 것들에 대한 정보(버전 등)을 작성해 놓는다.

 

Android Studio uses Gradle, an advanced build toolkit, to automate and manage the build process, while allowing you to define flexible custom build configurations. Each build configuration can define its own set of code and resources, while reusing the parts common to all versions of your app.

 

https://developer.android.com/studio/build

 

빌드 구성  |  Android 개발자  |  Android Developers

Android 빌드 시스템은 앱 리소스 및 소스 코드를 컴파일하고 개발자가 테스트, 구축, 서명 및 배포할 수 있는 APK로 패키징합니다.

developer.android.com