Object Configuration Action
An ObjectConfigurationAction
allows you to apply org.gradle.api.Plugins and scripts to an object or objects.
Functions
Link copied to clipboard
Adds a script to use to configure the target objects.
Link copied to clipboard
Adds a org.gradle.api.Plugin to use to configure the target objects.
Link copied to clipboard
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.
inline fun ObjectConfigurationAction.plugin(pluginClass: KClass<out Plugin<*>>): ObjectConfigurationAction
Kotlin extension function taking kotlin.reflect.KClass for org.gradle.api.plugins.ObjectConfigurationAction.plugin.
Link copied to clipboard
Specifies some target objects to be configured.
Link copied to clipboard
Adds the plugin implemented by the given class to the target.
Link copied to clipboard
Kotlin extension function taking kotlin.reflect.KClass for org.gradle.api.plugins.ObjectConfigurationAction.type.