Gradle Concepts: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 14: Line 14:
=Overview=
=Overview=


The goal of a Gradle execution (build) is to execute a set of tasks, in sequence. Each build evolves following a well defined [[#Build_Lifecycle|build lifecycle]], during which Gradle instantiates a complex domain model of the project in memory.
The goal of a Gradle execution (build) is to execute a set of tasks, in sequence. Each build evolves following a well defined [[#Build_Lifecycle|build lifecycle]], during which Gradle instantiates a complex domain model of the project in memory: a [[#Gralde|Gradle instance]], a [[#Settings|Settings instance]] and the [[#Project|project]] itself.


=Build Lifecycle=
=Build Lifecycle=

Revision as of 01:28, 3 October 2020

External

Internal

TO DEPLETE

Gradle Concepts TO DEPLETE

TO PLACE

Overview

The goal of a Gradle execution (build) is to execute a set of tasks, in sequence. Each build evolves following 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

Convention over Configuration

Gradle API

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

Gradle DSL

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

Gradle

Gradle

Settings

Settings

Project

Gradle Project

Task

Gradle Task

Plugin

Gradle Plugin Concepts
Extending Gradle

Extension

A plugin is the typical use case for an extension.

Extending Gradle

Extending Gradle