class ClientModuleScope : ClientModule
Receiver for ClientModule configuration blocks.
ClientModuleScope(dependencyHandler: DependencyHandler, clientModule: ClientModule)
Receiver for ClientModule configuration blocks. |
val clientModule: ClientModule |
fun dependencies(vararg notations: Any): Unit |
|
fun dependency(notation: Any): Unit fun dependency(notation: String, dependencyConfiguration: ExternalModuleDependency.() -> Unit): Unit |
|
fun module(group: String, name: String, version: String? = null, configuration: String? = null, classifier: String? = null, ext: String? = null, setup: ClientModuleScope.() -> Unit): Unit |
fun <T> Any.closureOf(action: T.() -> Unit): Closure<Any?>
Adapts a Kotlin function to a single argument Groovy Closure. |
|
fun <T> Any.delegateClosureOf(action: T.() -> Unit): Closure<Unit>
Adapts a Kotlin function to a Groovy Closure that operates on the configured Closure delegate. |
|
fun <ConventionType : Any, ReturnType> Any.withConvention(conventionType: KClass<ConventionType>, function: ConventionType.() -> ReturnType): ReturnType
Evaluates the given function against the convention plugin of the given conventionType. |
|
fun <T> Any.withGroovyBuilder(builder: GroovyBuilderScope.() -> T): T
Executes the given builder against this object's GroovyBuilderScope. |