module

abstract fun module(notation: Any): Dependency(source)

Deprecated

Creates a dependency on a client module.

Return

The dependency.

Deprecated

Please use component metadata rules instead. This method will be removed in Gradle 9.0.

Parameters

notation

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


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

Deprecated

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

Return

The dependency.

Deprecated

Please use component metadata rules instead. This method will be removed in Gradle 9.0.

Parameters

notation

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

configureClosure

The closure to use to configure the dependency.