api / org.gradle.api.artifacts / ClientModule / addDependency

addDependency

abstract fun addDependency(dependency: ModuleDependency): Unit

Add a dependency to the client module. Such a dependency is transitive dependency for the project that has a dependency on the client module.

Parameters

dependency - The dependency to add to the client module.

See Also
#getDependencies()