ExtensionConfigurationScope

Extends Komple extension API by creating a tool specific extension.

Functions

Link copied to clipboard
abstract fun createExtension(type: KClass<Extension>, vararg args: Any, configure: ExtensionScope<Extension>.() -> Unit? = null): Extension

Creates an extension of type Extension. Arguments args are passed to Extension constructor. The returned extension itself can be configured inside configure.

Link copied to clipboard

Creates an extension of type Extension. Arguments args are passed to Extension constructor. The returned extension itself can be configured inside configure.