api / org.gradle.language / ComponentDependencies

ComponentDependencies

@Incubating interface ComponentDependencies

Allows the implementation dependencies of a component to be specified.

Since
4.6

Functions

implementation

abstract fun implementation(notation: Any): Unit
abstract fun implementation(notation: Any, action: Action<in ExternalModuleDependency>): Unit

Adds an implementation dependency to this component. An implementation dependency is not visible to consumers that are compiled against this component.

Inheritors

LibraryDependencies

interface LibraryDependencies : ComponentDependencies

Allows the API and implementation dependencies of a library to be specified.