Groovy Documentation

org.gradle.api.artifacts.result
[Java] Interface ResolvedModuleVersionResult


@Incubating
public interface ResolvedModuleVersionResult

Resolved module version result is a node in the resolved dependency graph. Contains the identifier of the module and the dependencies.


Method Summary
Set getDependencies()

The dependencies of the resolved module.

Set getDependents()

The dependents of the resolved module.

ModuleVersionIdentifier getId()

The identifier of the resolved module.

ModuleVersionSelectionReason getSelectionReason()

Informs why this module version was selected.

 

Method Detail

getDependencies

public Set getDependencies()
The dependencies of the resolved module. See DependencyResult. Includes resolved and unresolved dependencies (if any).
Returns:
dependencies


getDependents

public Set getDependents()
The dependents of the resolved module. See ResolvedDependencyResult.
Returns:
dependents


getId

public ModuleVersionIdentifier getId()
The identifier of the resolved module.
Returns:
identifier


getSelectionReason

public ModuleVersionSelectionReason getSelectionReason()
Informs why this module version was selected. Useful information if during the dependency resolution multiple candidate versions were found and one of them was selected as a part of conflict resolution. Informs if a version was forced during the resolution process. See ModuleVersionSelectionReason
Returns:
information why this module version was selected.


 

Gradle API 1.3