https://docs.gradle.org/current/userguide/dependency_management_terminology.html

 

Dependency Management Terminology

A file or directory produced by a build, such as a JAR, a ZIP distribution, or a native executable. Artifacts are typically designed to be used or consumed by users or other projects, or deployed to hosting systems. In such cases, the artifact is a single

docs.gradle.org

 

https://docs.gradle.org/current/userguide/core_dependency_management.html

 

Dependency Management

Software projects rarely work in isolation. Projects often rely on reusable functionality from libraries. Some projects organize unrelated functionality into separate parts of a modular system. Dependency management is an automated technique for declaring,

docs.gradle.org

 

https://docs.gradle.org/current/userguide/declaring_repositories.html

 

Declaring repositories

When searching for a module in a repository, Gradle, by default, checks for supported metadata file formats in that repository. In a Maven repository, Gradle looks for a .pom file, in an ivy repository it looks for an ivy.xml file and in a flat directory r

docs.gradle.org

 

https://docs.gradle.org/current/userguide/declaring_dependencies.html

 

Declaring dependencies

Configurations are intended to be used for a single role: declaring dependencies, performing resolution, or defining consumable variants. In the past, some configurations did not define which role they were intended to be used for. A deprecation warning is

docs.gradle.org

 

https://docs.gradle.org/current/userguide/library_vs_application.html

 

Understanding the difference between libraries and applications

Whenever, as a developer, you decide to include a dependency, you must understand that there are consequences for your consumers. For example, if you add a dependency to your project, it becomes a transitive dependency of your consumers, and therefore may

docs.gradle.org

https://docs.gradle.org/current/userguide/viewing_debugging_dependencies.html

 

View and Debug Dependencies

A project may request two different versions of the same dependency either directly or transitively. Gradle applies version conflict resolution to ensure that only one version of the dependency exists in the dependency graph. The following example introduc

docs.gradle.org

https://docs.gradle.org/current/userguide/dependency_resolution.html

 

Understanding dependency resolution

Gradle contains a highly sophisticated dependency caching mechanism, which seeks to minimise the number of remote requests made in dependency resolution, while striving to guarantee that the results of dependency resolution are correct and reproducible. Th

docs.gradle.org

https://docs.gradle.org/current/userguide/dependency_verification.html

 

Verifying dependencies

The local keyring files (.gpg or .keys) can be used to avoid reaching out to key servers whenever a key is required to verify an artifact. However, it may be that the local keyring doesn’t contain a key, in which case Gradle would use the key servers to

docs.gradle.org

 

'Android > Gadle' 카테고리의 다른 글

Project 객체의 속성  (0) 2024.03.13
Gradle User Manual  (0) 2024.03.13
Android Gradle plugin API reference  (0) 2024.03.13
그레이들 테스크 실행  (0) 2024.03.13
그레이들 Gradle  (0) 2024.03.13

version

프로젝트나 결과물의 버전(설정이 없을 시 unspecified)

 

description

프로젝트의 설명

 

name

프로젝트의 이름

 

state

프로젝트 빌드 상태(프로젝트 빌드 상태의 종류: NOT EXECUTED, EXECUTING, EXECUTED, FAILED)

 

status

프로젝트 결과물의 상태(프로젝트 결과물 상태의 종류: NOT EXECUTED, EXECUTING, EXECUTED, FAILED)

 

path

프로젝트 경로(경로 구분자':')

 

projectDir

프로젝트 기준 디렉터리

 

group

프로젝트가 속한 그룹(특별한 경우만 지정, 루트 프로젝트는 공백문자, 하위 프로젝트는 루트 프로젝트나 부모 프로젝트로 지정)

 

buildDir

프로젝트 빌드 디렉터리(모든 결과물이 생성되는 디렉터리, 기본값 proejctDir/build)

 

plugins

Project 객체에 적용된 플러그인의 컨테이너

 

project

기준 프로젝트 참조

 

rootProject

루트 프로젝트 참조

 

parent

기준 프로젝트의 상위 프로젝트 참조

 

childProjects

기준 프로젝트의 하위 프로젝트 참조(Map 형식으로 저장)

 

allprojects

기준 프로젝트에 포함된 모든 프로젝트 참조(Set 형식으로 저장)

 

subprojects

기준 프로젝트 이하의 모든 프로젝트 참조(Set 형식으로 저장)

 

'Android > Gadle' 카테고리의 다른 글

Gradle Dependency 문서들  (0) 2024.03.13
Gradle User Manual  (0) 2024.03.13
Android Gradle plugin API reference  (0) 2024.03.13
그레이들 테스크 실행  (0) 2024.03.13
그레이들 Gradle  (0) 2024.03.13

https://docs.gradle.org/current/userguide/userguide.html?_gl=1*1xozz9k*_ga*MTkwMDIyODc3Ny4xNzEwMjUwMzQ0*_ga_7W7NC6YNPT*MTcxMDMwNzk2OS4yLjAuMTcxMDMwNzk3Ni41My4wLjA.

 

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

 

'Android > Gadle' 카테고리의 다른 글

Gradle Dependency 문서들  (0) 2024.03.13
Project 객체의 속성  (0) 2024.03.13
Android Gradle plugin API reference  (0) 2024.03.13
그레이들 테스크 실행  (0) 2024.03.13
그레이들 Gradle  (0) 2024.03.13

+ Recent posts