Gradle Base Plugin: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=External= * https://docs.gradle.org/current/userguide/base_plugin.html =Internal= * Gradle Plugins | Core Plugins =Overview= Th...")
 
 
Line 18: Line 18:
===<tt>assemble</tt>===
===<tt>assemble</tt>===
===<tt>build</tt>===
===<tt>build</tt>===
==Other Tasks==
===<tt>clean</tt>===
The task deletes the project's [[Gradle_Project_Coordinates,_State_and_Configured_Properties#Build_Directory|build directory]] and everything in it.

Latest revision as of 07:00, 28 March 2021

External

Internal

Overview

The Base plugin provides tasks and conventions that are common to most builds and adds a structure to the build that promotes consistency in how they are run. The most important are the lifecycle tasks (check, assemble, build).

plugins {
  id 'base'
}

Tasks

Standard Lifecycle Tasks

check

assemble

build

Other Tasks

clean

The task deletes the project's build directory and everything in it.