api / org.gradle.api.plugins / ObjectConfigurationAction / to

to

abstract fun to(vararg targets: Any): ObjectConfigurationAction

Specifies some target objects to be configured. Any collections or arrays in the given parameters will be flattened, and the script applied to each object in the result, in the order given. Each call to this method adds some additional target objects.

Parameters

targets - The target objects.

Return
this