# ObjectConfigurationAction

interface ObjectConfigurationAction(source)

An `ObjectConfigurationAction` allows you to apply org.gradle.api.Plugins and scripts to an object or objects.

## Functions

from
Link copied to clipboard
abstract fun from(script: Any): ObjectConfigurationAction
Adds a script to use to configure the target objects.
plugin
Link copied to clipboard
abstract fun plugin(pluginClass: Class<out Plugin>): ObjectConfigurationAction
abstract fun plugin(pluginId: String): ObjectConfigurationAction
Adds a org.gradle.api.Plugin to use to configure the target objects.
to
Link copied to clipboard
abstract fun to(targets: Array<Any>): ObjectConfigurationAction
Specifies some target objects to be configured.
type
Link copied to clipboard
abstract fun type(pluginClass: Class<out Any>): ObjectConfigurationAction
Adds the plugin implemented by the given class to the target.