configure

abstract fun <T> configure(type: Class<T>, action: Action<out Any>)
abstract fun <T> configure(type: TypeOf<T>, action: Action<out Any>)

Looks for the extension of the specified type and configures it with the supplied action.

Parameters

type

extension type

action

the configure action

Throws

if no extension is found.


abstract fun <T> configure(name: String, action: Action<out Any>)

Looks for the extension with the specified name and configures it with the supplied action.

Parameters

name

extension name

action

the configure action

Throws

if no extension is found.