ResolvedComponentResult

Represents a component instance in the resolved dependency graph. Provides some basic identity and dependency information about the component.

Functions

Link copied to clipboard
abstract fun getDependencies(): Set<out DependencyResult>
Returns the dependencies of this component.
Link copied to clipboard
Returns the dependencies of a specific variant.
Link copied to clipboard
Returns the incoming dependencies of this component.
Link copied to clipboard
abstract fun getId(): ComponentIdentifier
Link copied to clipboard
@Nullable
abstract fun getModuleVersion(): ModuleVersionIdentifier
Returns the module version which this component belongs to, if any.
Link copied to clipboard
Returns the reason why this particular component was selected in the result.
Link copied to clipboard
Returns the variants that were selected for this component.