api / org.gradle.kotlin.dsl / invoke

invoke

inline operator fun <T : Any, C : NamedDomainObjectContainer<T>> C.invoke(configuration: NamedDomainObjectContainerScope<T>.() -> Unit): C

Allows the container to be configured, creating missing objects as they are referenced.

Parameters

configuration - The expression to configure this container with

Return
The container.