Gradle Concepts: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 14: Line 14:
The goal of a Gradle execution, also known as a Gradle build, is to execute a set of [[Gradle Task#Overview|tasks]], in sequence. Each build runs according to a well defined [[#Build_Lifecycle|build lifecycle]], during which Gradle instantiates a complex domain model of the project in memory: a [[Org.gradle.api.invocation.Gradle|Gradle instance]], a [[Gradle_Settings|Settings instance]] and the [[Gradle_Project|project]] itself.
The goal of a Gradle execution, also known as a Gradle build, is to execute a set of [[Gradle Task#Overview|tasks]], in sequence. Each build runs according to a well defined [[#Build_Lifecycle|build lifecycle]], during which Gradle instantiates a complex domain model of the project in memory: a [[Org.gradle.api.invocation.Gradle|Gradle instance]], a [[Gradle_Settings|Settings instance]] and the [[Gradle_Project|project]] itself.


=Build Lifecycle=
=<span id='Build'></span>Build Lifecycle=


A build is a Gradle execution. Each build instantiates at least one [[Gradle Project#Overview|project]], which in turn contains [[Gradle Task#Overview|tasks]], and it can be configured and controlled with [[Gradle Properties#Overview|properties]].
A build is a Gradle execution. Each build instantiates at least one [[Gradle Project#Overview|project]], which in turn contains [[Gradle Task#Overview|tasks]], and it can be configured and controlled with [[Gradle Properties#Overview|properties]].

Revision as of 23:26, 3 October 2020

External

Internal

TO DEPLETE

Gradle Concepts 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.

Convention over Configuration

API Documentation

https://docs.gradle.org/current/javadoc/index.html

DSL Documentation

https://docs.gradle.org/current/dsl/index.html

Subjects