DependencyMetadata

Describes a metadata about a dependency - direct dependency or dependency constraint - declared in a resolved component's metadata.

Since

4.4

Parameters

<SELF>

type extending this interface

Inheritors

Functions

Link copied to clipboard
abstract fun attributes(configureAction: Action<in AttributeContainer>): SELF
Adjust the attributes of this dependency
Link copied to clipboard
abstract fun because(reason: String): SELF
Adjust the reason why this dependency should be selected.
Link copied to clipboard
Returns the attributes of this dependency.
Link copied to clipboard
abstract fun getGroup(): String
Returns the group of the module that is targeted by this dependency or dependency constraint.
Link copied to clipboard
abstract fun getModule(): ModuleIdentifier
The module identifier of the component.
Link copied to clipboard
abstract fun getName(): String
Returns the name of the module that is targeted by this dependency or dependency constraint.
Link copied to clipboard
@Nullable
abstract fun getReason(): String
Returns the reason why this dependency should be selected.
Link copied to clipboard
Returns the version of the module that is targeted by this dependency or dependency constraint.
Link copied to clipboard
abstract fun version(configureAction: Action<in MutableVersionConstraint>): SELF
Adjust the version constraints of the dependency or dependency constraint.