Package org.gradle.api.plugins
The standard
Plugin
implementations.-
Interface Summary Interface Description AppliedPlugin Represents a plugin that has been applied.Convention AConvention
manages a set of convention objects.ExtensionAware Objects that can be extended at runtime with other objects.ExtensionContainer Allows adding 'namespaced' DSL extensions to a target object.ExtraPropertiesExtension Additional, ad-hoc, properties for Gradle domain objects.MavenRepositoryHandlerConvention Allows Maven repositories for publishing artifacts to be defined.ObjectConfigurationAction AnObjectConfigurationAction
allows you to applyPlugin
s and scripts to an object or objects.PluginAware Something that can have plugins applied to it.PluginCollection<T extends Plugin> APluginCollection
represents a collection ofPlugin
instances.PluginContainer APluginContainer
is used to manage a set ofPlugin
instances applied to a particular project.PluginManager Facilitates applying plugins and determining which plugins have been applied to aPluginAware
object. -
Class Summary Class Description ApplicationPlugin APlugin
which runs a project as a Java Application.ApplicationPluginConvention TheConvention
used for configuring theApplicationPlugin
.BasePlugin APlugin
which defines a basic project lifecycle and some common convention properties.BasePluginConvention AConvention
used for the BasePlugin.GroovyBasePlugin ExtendsJavaBasePlugin
to provide support for compiling and documenting Groovy source files.GroovyPlugin APlugin
which extends theJavaPlugin
to provide support for compiling and documenting Groovy source files.HelpTasksPlugin Adds various reporting tasks that provide information about the project.JavaBasePlugin APlugin
which compiles and tests Java source, and assembles it into a JAR file.JavaLibraryDistributionPlugin APlugin
which package a Java project as a distribution including the JAR and runtime dependencies.JavaLibraryPlugin APlugin
which extends the capabilities of theJava plugin
by cleanly separating the API and implementation dependencies of a library.JavaPlugin APlugin
which compiles and tests Java source, and assembles it into a JAR file.JavaPluginConvention Is mixed into the project when applying theJavaBasePlugin
or theJavaPlugin
.MavenPlugin APlugin
which allows project artifacts to be deployed to a Maven repository, or installed to the local Maven cache.MavenPluginConvention Properties and methods added by theMavenPlugin
.ProjectReportsPlugin APlugin
which adds some project visualization report tasks to a project.ProjectReportsPluginConvention The conventional configuration for the `ProjectReportsPlugin`.ReportingBasePlugin APlugin
which provides the basic skeleton for reporting.WarPlugin APlugin
which extends theJavaPlugin
to add tasks which assemble a web application into a WAR file.WarPluginConvention AConvention
used for the WarPlugin. -
Exception Summary Exception Description ExtraPropertiesExtension.UnknownPropertyException The exception that will be thrown when an attempt is made to read a property that is not set.InvalidPluginException Thrown when a plugin is found to be invalid when it is loaded.PluginInstantiationException APluginInstantiationException
is thrown when a plugin cannot be instantiated.UnknownPluginException AUnknownPluginException
is thrown when an unknown plugin id is provided. -
Annotation Types Summary Annotation Type Description DeferredConfigurable Indicates that the annotated object is designed to be configured only once, and that changes to configuration inputs made after configuration should not be allowed.