abstract fun module(notation: Any): Dependency
Creates a dependency on a client module.
notation
- The module notation, in one of the notations described above.
Return
The dependency.
abstract fun module(notation: Any, configureClosure: Closure<Any>): Dependency
Creates a dependency on a client module. The dependency is configured using the given closure before it is returned.
notation
- The module notation, in one of the notations described above.
configureClosure
- The closure to use to configure the dependency.
Return
The dependency.