Groovy Documentation

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


@Incubating
public interface ResolvedModuleVersionResult

A node in the resolved dependency graph. Contains the identifier of the module and its dependencies.


Method Summary
Set getDependencies()

Returns the dependencies of the resolved module.

Set getDependents()

Returns the dependents of the resolved module.

ModuleVersionIdentifier getId()

Returns the identifier of the resolved module.

ModuleVersionSelectionReason getSelectionReason()

Returns the reason for selecting the module.

 

Method Detail

getDependencies

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


getDependents

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


getId

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


getSelectionReason

public ModuleVersionSelectionReason getSelectionReason()
Returns the reason for selecting the module. Useful if multiple candidate versions were found during dependency resolution.
Returns:
the reason for selecting the module


 

Gradle API 1.8