interface Plugin<T : Any>
A Plugin
represents an extension to Gradle. A plugin applies some configuration to a target object. Usually, this target object is a org.gradle.api.Project, but plugins can be applied to any type of objects.
- The type of object which this plugin can configure.
abstract fun apply(target: T): Unit
Apply this plugin to the given target object. |
open class AnnouncePlugin : Plugin<Project>
This plugin allows to send announce messages to Twitter. |
|
open class AntlrPlugin : Plugin<Project>
A plugin for adding Antlr support to JavaPlugin. |
|
open class ApplicationPlugin : Plugin<Project>
A Plugin which runs a project as a Java Application. The plugin can be configured via its companion ApplicationPluginConvention object. |
|
open class AssemblerLangPlugin : Plugin<Project>
Adds core Assembler language support. |
|
open class AssemblerPlugin : Plugin<Project>
A plugin for projects wishing to build native binary components from Assembly language sources. Automatically includes the AssemblerLangPlugin for core Assembler support and the NativeComponentPlugin for native component support.
|
|
open class BasePlugin : Plugin<Project>
A org.gradle.api.Plugin which defines a basic project lifecycle and some common convention properties. |
|
open class BinaryBasePlugin : Plugin<Project>
Base plugin for binaries support. - Adds a BinarySpec container named |
|
open class BuildAnnouncementsPlugin : Plugin<Project>
A plugin which announces interesting build lifecycle events. |
|
open class BuildDashboardPlugin : Plugin<Project>
Adds a task, "buildDashboard", that aggregates the output of all tasks that produce reports. |
|
open class BuildInitPlugin : Plugin<Project>
The build init plugin. |
|
open class CLangPlugin : Plugin<Project>
Adds core C language support. |
|
open class CPlugin : Plugin<Project>
A plugin for projects wishing to build native binary components from C sources. Automatically includes the CLangPlugin for core C++ support and the org.gradle.nativeplatform.plugins.NativeComponentPlugin for native component support.
|
|
open class CUnitConventionPlugin : Plugin<Project>
A plugin that applies the CUnitPlugin and adds conventions on top of it. |
|
open class CUnitPlugin : Plugin<Project>
A plugin that sets up the infrastructure for testing native binaries with CUnit. |
|
open class ClangCompilerPlugin : Plugin<Project>
A Plugin which makes the Clang compiler available for compiling C/C++ code. |
|
open class CoffeeScriptBasePlugin : Plugin<Project> |
|
open class CompareGradleBuildsPlugin : Plugin<Project>
Preconfigures the project to run a gradle build comparison. |
|
open class ComponentBasePlugin : Plugin<Project>
Base plugin for ComponentSpec support. - Registers the infrastructure to support the base ComponentSpec type and extensions to this type. |
|
open class ComponentModelBasePlugin : Plugin<Project>
Base plugin for component support. Adds a org.gradle.platform.base.ComponentSpecContainer named |
|
open class CppApplicationPlugin : Plugin<ProjectInternal>
A plugin that produces a native application from C++ source. Assumes the source files are located in `src/main/cpp` and header files are located in `src/main/headers`. Adds a CppApplication extension to the project to allow configuration of the application. |
|
open class CppBasePlugin : Plugin<ProjectInternal>
A common base plugin for the C++ executable and library plugins |
|
open class CppLangPlugin : Plugin<Project>
Adds core C++ language support. |
|
open class CppLibraryPlugin : Plugin<ProjectInternal>
A plugin that produces a native library from C++ source. Assumes the source files are located in `src/main/cpp`, public headers are located in `src/main/public` and implementation header files are located in `src/main/headers`. Adds a CppLibrary extension to the project to allow configuration of the library. |
|
open class CppPlugin : Plugin<Project>
A plugin for projects wishing to build native binary components from C++ sources. Automatically includes the CppLangPlugin for core C++ support and the NativeComponentPlugin for native component support.
|
|
open class CppUnitTestPlugin : Plugin<ProjectInternal>
A plugin that sets up the infrastructure for testing C++ binaries using a simple test executable. Gradle will create a RunTestExecutable task that relies on the exit code of the binary. |
|
open class DistributionPlugin : Plugin<ProjectInternal>
A Plugin to package project as a distribution. |
|
open class EarPlugin : Plugin<Project>
A Plugin with tasks which assemble a web application into a EAR file. |
|
open class EmbeddedKotlinPlugin : Plugin<Project>
The |
|
open class EnvJsPlugin : Plugin<Project> |
|
open class GccCompilerPlugin : Plugin<Project>
A Plugin which makes the GNU GCC/G++ compiler available for compiling C/C++ code. |
|
open class GoogleTestConventionPlugin : Plugin<Project>
A plugin that applies the GoogleTestPlugin and adds conventions on top of it. |
|
open class GoogleTestPlugin : Plugin<Project>
A plugin that sets up the infrastructure for testing native binaries with GoogleTest. |
|
open class GroovyBasePlugin : Plugin<Project>
Extends org.gradle.api.plugins.JavaBasePlugin to provide support for compiling and documenting Groovy source files. |
|
open class GroovyPlugin : Plugin<Project>
A Plugin which extends the JavaPlugin to provide support for compiling and documenting Groovy source files. |
|
open class HelpTasksPlugin : Plugin<ProjectInternal>
Adds various reporting tasks that provide information about the project. |
|
open class IvyPublishPlugin : Plugin<Project>
Adds the ability to publish in the Ivy format to Ivy repositories. |
|
open class JUnitTestSuitePlugin : Plugin<Project>
This plugin adds support for execution of JUnit test suites to the Java software model. |
|
open class JacocoPlugin : Plugin<ProjectInternal>
Plugin that provides support for generating Jacoco coverage data. |
|
open class JavaBasePlugin : Plugin<ProjectInternal>
A org.gradle.api.Plugin which compiles and tests Java source, and assembles it into a JAR file. |
|
open class JavaGradlePluginPlugin : Plugin<Project>
A plugin for building java gradle plugins. Automatically generates plugin descriptors. Emits warnings for common error conditions. Provides a direct integration with TestKit by declaring the |
|
open class JavaLanguagePlugin : Plugin<Project>
Plugin for compiling Java code. Applies the org.gradle.language.base.plugins.ComponentModelBasePlugin and org.gradle.language.jvm.plugins.JvmResourcesPlugin. Registers "java" language support with the JavaSourceSet. |
|
open class JavaLibraryDistributionPlugin : Plugin<ProjectInternal>
A Plugin which package a Java project as a distribution including the JAR and runtime dependencies. |
|
open class JavaLibraryPlugin : Plugin<Project>
A Plugin which extends the capabilities of the JavaPlugin by cleanly separating the API and implementation dependencies of a library. |
|
open class JavaPlugin : Plugin<ProjectInternal>
A Plugin which compiles and tests Java source, and assembles it into a JAR file. |
|
open class JavaScriptBasePlugin : Plugin<Project> |
|
open class JsHintPlugin : Plugin<Project> |
|
open class JvmComponentPlugin : Plugin<Project>
Base plugin for JVM component support. Applies the org.gradle.language.base.plugins.ComponentModelBasePlugin. Registers the JvmLibrarySpec library type for the components container. |
|
open class JvmResourcesPlugin : Plugin<Project>
Plugin for packaging JVM resources. Applies the org.gradle.language.base.plugins.ComponentModelBasePlugin. Registers "resources" language support with the . |
|
open class KotlinDslCompilerPlugins : Plugin<Project>
Configures the Kotlin compiler to recognise Gradle functional interface annotated with HasImplicitReceiver. |
|
open class KotlinDslPlugin : Plugin<Project>
The |
|
open class LanguageBasePlugin : Plugin<Project>
Base plugin for language support. - Adds a ProjectSourceSet named |
|
open class LifecycleBasePlugin : Plugin<ProjectInternal>
A org.gradle.api.Plugin which defines a basic project lifecycle. |
|
open class MavenPlugin : Plugin<ProjectInternal>
A org.gradle.api.Plugin which allows project artifacts to be deployed to a Maven repository, or installed to the local Maven cache. |
|
open class MavenPublishPlugin : Plugin<Project>
Adds the ability to publish in the Maven format to Maven repositories. |
|
open class MicrosoftVisualCppCompilerPlugin : Plugin<Project>
A Plugin which makes the Microsoft Visual C++ compiler available to compile C/C++ code. |
|
open class NativeBasePlugin : Plugin<ProjectInternal>
A common base plugin for the native plugins. Expects plugins to register the native components in the
|
|
open class NativeBinariesTestPlugin : Plugin<Project>
A plugin that sets up the infrastructure for testing native binaries. |
|
open class NativeComponentModelPlugin : Plugin<ProjectInternal>
A plugin that sets up the infrastructure for defining native binaries. |
|
open class NativeComponentPlugin : Plugin<ProjectInternal>
A plugin that creates tasks used for constructing native binaries. |
|
open class NativeTestingBasePlugin : Plugin<ProjectInternal>
Common base plugin for all native testing plugins. Expects plugins to register the native test suites in the
|
|
open class ObjectiveCLangPlugin : Plugin<Project>
Adds core Objective-C language support. |
|
open class ObjectiveCPlugin : Plugin<Project>
A plugin for projects wishing to build native binary components from Objective-C sources. Automatically includes the ObjectiveCLangPlugin for core Objective-C support and the org.gradle.nativeplatform.plugins.NativeComponentPlugin for native component support.
|
|
open class ObjectiveCppLangPlugin : Plugin<Project>
Adds core Objective-Cpp language support. |
|
open class ObjectiveCppPlugin : Plugin<Project>
A plugin for projects wishing to build native binary components from Objective-C++ sources. Automatically includes the ObjectiveCppLangPlugin for core Objective-C++ support and the NativeComponentPlugin for native component support.
|
|
open class OsgiPlugin : Plugin<Project>
A Plugin which extends the JavaPlugin to add OSGi meta-information to the project Jars. |
|
open class PlayApplicationPlugin : Plugin<Project>
Plugin for Play Framework component support. Registers the org.gradle.play.PlayApplicationSpec component type for the components container. |
|
open class PlayCoffeeScriptPlugin : Plugin<Project>
Plugin for adding coffeescript compilation to a Play application. Adds support for defining org.gradle.language.coffeescript.CoffeeScriptSourceSet source sets. A "coffeeScript" source set is created by default. |
|
open class PlayIdePlugin : Plugin<Project>
Plugin for configuring IDE plugins when the project uses the Play Framework component support. NOTE: This currently supports configuring the 'idea' plugin only. |
|
open class PlayJavaScriptPlugin : Plugin<Project>
Plugin for adding javascript processing to a Play application. Registers "javascript" language support with the org.gradle.language.javascript.JavaScriptSourceSet. |
|
open class PlayPlugin : Plugin<Project>
Plugin for Play Framework component support. Registers the org.gradle.play.PlayApplicationSpec component type for the components container. |
|
open class PrecompiledScriptPlugins : Plugin<Project> |
|
open class ProjectReportsPlugin : Plugin<Project>
A Plugin which adds some project visualization report tasks to a project. |
|
open class PublishingPlugin : Plugin<Project>
Installs a org.gradle.api.publish.PublishingExtension with name {@value org.gradle.api.publish.PublishingExtension#NAME}. |
|
open class ReportingBasePlugin : Plugin<ProjectInternal>
A Plugin which provides the basic skeleton for reporting. This plugin adds the following extension objects to the project:
|
|
open class RhinoPlugin : Plugin<Project> |
|
open class ScalaBasePlugin : Plugin<Project>
A Plugin which compiles and tests Scala sources. |
|
open class ScalaLanguagePlugin : Plugin<Project>
Plugin for compiling Scala code. Applies the org.gradle.language.base.plugins.ComponentModelBasePlugin and org.gradle.language.jvm.plugins.JvmResourcesPlugin. Registers "scala" language support with the org.gradle.language.scala.ScalaLanguageSourceSet. |
|
open class ScalaPlugin : Plugin<Project>
A Plugin which sets up a Scala project. |
|
open class SigningPlugin : Plugin<Project>
Adds the ability to digitally sign files and artifacts. |
|
open class SwiftApplicationPlugin : Plugin<ProjectInternal>
A plugin that produces an executable from Swift source. Adds compile, link and install tasks to build the executable. Defaults to looking for source files in `src/main/swift`. Adds a SwiftApplication extension to the project to allow configuration of the executable. |
|
open class SwiftBasePlugin : Plugin<ProjectInternal>
A common base plugin for the Swift application and library plugins |
|
open class SwiftCompilerPlugin : Plugin<Project>
A Plugin which makes the Swiftc compiler available for compiling Swift code. |
|
open class SwiftLibraryPlugin : Plugin<Project>
A plugin that produces a shared library from Swift source. Adds compile, link and install tasks to build the shared library. Defaults to looking for source files in `src/main/swift`. Adds a SwiftComponent extension to the project to allow configuration of the library. |
|
open class SwiftPackageManagerExportPlugin : Plugin<Project>
A plugin that produces a Swift Package Manager manifests from the Gradle model. This plugin should only be applied to the root project of a build. |
|
open class TestingBasePlugin : Plugin<Project>
Base plugin for testing. - Adds default locations for test reporting |
|
open class TestingModelBasePlugin : Plugin<Project>
Base plugin for testing. - Adds a org.gradle.testing.base.TestSuiteContainer named |
|
open class WarPlugin : Plugin<Project>
A Plugin which extends the JavaPlugin to add tasks which assemble a web application into a WAR file. |
|
open class WindowsResourceScriptPlugin : Plugin<Project>
Adds core language support for Windows resource script files. |
|
open class WindowsResourcesPlugin : Plugin<Project>
A plugin for projects wishing to build native binary components from Windows Resource sources. Automatically includes the WindowsResourceScriptPlugin for core Windows Resource source support and the NativeComponentPlugin for native component support.
|
|
open class WrapperPlugin : Plugin<Project>
The wrapper plugin. |
|
open class XCTestConventionPlugin : Plugin<ProjectInternal>
A plugin that sets up the infrastructure for testing native binaries with XCTest test framework. It also adds conventions on top of it. |