configure
Executes the given configuration block against the extension of the specified type.
Parameters
T
the extension type.
configuration
the configuration block.
See also
Looks for the extension of the specified type and configures it with the supplied action.
Since
5.0
Parameters
T
the extension type
action
the configuration action
See also
Extension Container. configure
Executes the given configuration block against the project extension of the specified type.
If no extension is found, configures a project convention if available. Note, that the concept of conventions is deprecated and scheduled for removal in Gradle 9.
Parameters
T
the project extension type.
configuration
the configuration block.
See also
Kotlin extension function taking kotlin.reflect.KClass for org.gradle.api.plugins.ExtensionContainer.configure.
See also
Extension Container. configure