api
Adds an api
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 api(dependencyNotation: String, configure: ExternalModuleDependency.() -> Unit): ExternalModuleDependency
open fun api(dependencyNotation: String, configure: Action<ExternalModuleDependency>): ExternalModuleDependency
Adds an api
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 api
dependency to this entity.
Return
The added dependency.
Parameters
dependency
The dependency to add.
configure
Additional configuration for the dependency.