Gradle Base Plugin

From NovaOrdis Knowledge Base
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.