Gradle Plugins TODEPLETE

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

External

Internal

Overview

Most of Gradle's power comes from external plugins. A plugin is an extension to Gradle which configures the project it is applied to in some way, typically by adding dependency configurations, tasks and properties. Plugins can be applied to Projects because Project implements PluginAware.

  • Java plugin.
  • Maven publishing plugin.

Plugins may contribute their own tasks to the project.

Plugin Initialization

apply plugin:'java'