Gradle Plugins TODEPLETE: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
Line 18: Line 18:


<syntaxhighlight lang='groovy'>
<syntaxhighlight lang='groovy'>
apply
apply plugin:'java'
</syntaxhighlight>
</syntaxhighlight>

Revision as of 22:35, 17 May 2018

External

Internal

Overview

Most of Gradle's power comes from external plugins.

A Project implements PluginAware.

  • Java plugin.
  • Maven publishing plugin.

Plugin Initialization

apply plugin:'java'