Gradle Concepts: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 41: Line 41:
=Properties=
=Properties=
{{Internal|Gradle Properties|Properties}}
{{Internal|Gradle Properties|Properties}}
=Logging=
{{Internal|Gradle Logging|Gradle Logging}}


=Extension=
=Extension=

Revision as of 20:57, 3 October 2020

External

Internal

TO DEPLETE

Gradle Concepts TO DEPLETE

TO PLACE

Overview

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

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

Properties

Properties

Logging

Gradle Logging

Extension

A plugin is the typical use case for an extension.

Extending Gradle

Extending Gradle