Gradle Base Plugin

From NovaOrdis Knowledge Base
Revision as of 07:00, 28 March 2021 by Ovidiu (talk | contribs) (→‎Standard Lifecycle Tasks)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.