api / org.gradle.kotlin.dsl / org.gradle.api.plugins.ObjectConfigurationAction / plugin

plugin

inline fun <reified T : Plugin<*>> ObjectConfigurationAction.plugin(): ObjectConfigurationAction

Adds a Plugin to use to configure the target objects. This method may be called multiple times, to use multiple plugins. Scripts and plugins are applied in the order that they are added.

Parameters

T - the plugin to apply.