Groovy Documentation

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

org.gradle.api.artifacts.result.DependencyResult
  org.gradle.api.artifacts.result.UnresolvedDependencyResult
All Superinterfaces:
DependencyResult

@Incubating
public interface UnresolvedDependencyResult
extends DependencyResult

A dependency that could not be resolved.


Method Summary
ModuleVersionSelector getAttempted()

Returns the module version selector that was attempted to be resolved.

ModuleVersionSelectionReason getAttemptedReason()

Returns the reasons why the failed selector was attempted.

Throwable getFailure()

The failure that occurred.

 
Methods inherited from interface DependencyResult
getFrom, getRequested
 

Method Detail

getAttempted

public ModuleVersionSelector getAttempted()
Returns the module version selector that was attempted to be resolved. This may not be the same as the requested module version.


getAttemptedReason

public ModuleVersionSelectionReason getAttemptedReason()
Returns the reasons why the failed selector was attempted.


getFailure

public Throwable getFailure()
The failure that occurred.


 

Gradle API 1.8