Groovy Documentation

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


@Incubating
public interface DependencyResult

An edge in the dependency graph. Provides information about the origin of the dependency and the requested module version.

See Also:
ResolutionResult


Method Summary
ResolvedModuleVersionResult getFrom()

Returns the origin of the dependency.

ModuleVersionSelector getRequested()

Returns the requested module version.

 

Method Detail

getFrom

public ResolvedModuleVersionResult getFrom()
Returns the origin of the dependency.
Returns:
the origin of the dependency


getRequested

public ModuleVersionSelector getRequested()
Returns the requested module version.
Returns:
the requested module version


 

Gradle API 1.8