Gradle Concepts: Difference between revisions
Jump to navigation
Jump to search
Line 19: | Line 19: | ||
<span id='Build_Initialization_Phase'></span>'''Build initialization phase''' | <span id='Build_Initialization_Phase'></span>'''Build initialization phase''' | ||
<span id='Build_Configuration_Phase'></span>'''Build configuration phase''' | |||
<span id='Build_Execution_Phase'></span>'''Build execution phase''' | |||
=Convention over Configuration= | =Convention over Configuration= |
Revision as of 02:33, 4 October 2020
External
- DSL reference https://docs.gradle.org/current/dsl/
Internal
TO DEPLETE
Overview
The goal of a Gradle execution, also known as a Gradle build, is to execute a set of tasks, in sequence. Each build runs according to a well defined build lifecycle, during which Gradle instantiates a complex domain model of the project in memory: a Gradle instance, a Settings instance and the project itself.
Build Lifecycle
A build is a Gradle execution. Each build instantiates at least one project, which in turn contains tasks, and it can be configured and controlled with properties.
Build initialization phase
Build configuration phase
Build execution phase