implementation

abstract fun implementation(dependencyNotation: Any): Dependency?

Adds an implementation module dependency to this entity.

Return

The module dependency, or null if dependencyNotation is a provider.

Parameters

dependencyNotation

The module dependency notation, as per DependencyHandler.create.

See also


abstract fun implementation(dependencyNotation: String, configure: ExternalModuleDependency.() -> Unit): ExternalModuleDependency

Adds an implementation module dependency to this entity.

Return

The module dependency, or null if dependencyNotation is a provider.

Parameters

dependencyNotation

The module dependency notation, as per DependencyHandler.create.

configure

Additional configuration for the created module dependency.

See also


Adds an implementation module dependency to this entity.

Return

The module dependency, or null if dependencyNotation is a provider.

Parameters

dependencyNotation

The module dependency notation, as per DependencyHandler.create.

configure

additional configuration for the created module dependency.

See also


abstract fun <T : Dependency> implementation(dependency: T, configure: T.() -> Unit): T
open fun <T : Dependency> implementation(dependency: T, configure: Action<T>): T

Adds an implementation dependency to this entity.

Return

The added dependency.

Parameters

dependency

The dependency to add.

configure

Additional configuration for the dependency.

See also