module

abstract fun module(notation: Any): Dependency

Creates a dependency on a client module.

Return

The dependency.

Parameters

notation

The module notation, in one of the notations described above.


abstract fun module(notation: Any, configureClosure: Closure): Dependency

Creates a dependency on a client module. The dependency is configured using the given closure before it is returned.

Return

The dependency.

Parameters

notation

The module notation, in one of the notations described above.

configureClosure

The closure to use to configure the dependency.