# plugin

inline fun ObjectConfigurationAction. plugin(pluginClass: KClass<out Plugin<*>>): ObjectConfigurationAction(source)
inline fun ObjectConfigurationAction. plugin(pluginClass: KClass<out Plugin<*>>): ObjectConfigurationAction(source)

Kotlin extension function taking kotlin.reflect.KClass for org.gradle.api.plugins.ObjectConfigurationAction.plugin.

#### Since

0.9

#### See also

org.gradle.api.plugins.ObjectConfigurationAction.plugin

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

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.

#### Since

5.6

#### Type Parameters

T

the plugin to apply.