Package org.gradle.api.plugins
The standard
Plugin
implementations.-
Interface Summary Interface Description AppliedPlugin Represents a plugin that has been applied.BasePluginExtension An extension used forBasePlugin
.Convention Deprecated. Use extensions instead.ExtensionAware Objects that can be extended at runtime with other objects.ExtensionContainer Allows adding 'namespaced' DSL extensions to a target object.ExtensionsSchema Schema of extensions.ExtensionsSchema.ExtensionSchema Schema of an extension.ExtraPropertiesExtension Additional, ad-hoc, properties for Gradle domain objects.FeatureSpec Handler for configuring features, which may contribute additional configurations, publications, dependencies, ...JavaApplication Configuration for a Java application, defining how to assemble the application.JavaPlatformExtension The extension to configure a Java platform project.JavaPluginExtension Common configuration for JVM (Java) based projects.JavaResolutionConsistency Dependency resolution consistency configuration for the Java derived plugins.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 packages and runs a project as a Java Application.ApplicationPluginConvention Deprecated. UseJavaApplication
instead.BasePlugin APlugin
which defines a basic project lifecycle and some common convention properties.BasePluginConvention Deprecated. UseBasePluginExtension
instead.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.JavaPlatformPlugin The Java platform plugin allows building platform components for Java, which are usually published as BOM files (for Maven) or Gradle platforms (Gradle metadata).JavaPlugin APlugin
which compiles and tests Java source, and assembles it into a JAR file.JavaPluginConvention Deprecated. Replaced byJavaPluginExtension
.JavaTestFixturesPlugin Adds support for producing test fixtures.JvmEcosystemPlugin A base plugin for projects working in a JVM world.JvmTestSuitePlugin APlugin
that adds extensions for declaring, compiling and runningJvmTestSuite
s.JvmToolchainManagementPlugin A plugin that provides JVM specificToolchainManagement
configuration.JvmToolchainsPlugin A plugin that provides JVM toolchains for projects that need to execute Java from local JVM installations or run the tools included in a JDK.ProjectReportsPlugin APlugin
which adds some project visualization report tasks to a project.ProjectReportsPluginConvention Deprecated. Please configure the tasks directly.ReportingBasePlugin APlugin
which provides the basic skeleton for reporting.TestReportAggregationPlugin Adds configurations to for resolving variants containing test execution results, which may span multiple subprojects.WarPlugin APlugin
which extends theJavaPlugin
to add tasks which assemble a web application into a WAR file.WarPluginConvention Deprecated. Please configure the tasks directly. -
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.