UnresolvedDependencyResult (Gradle API 8.11)

Package org.gradle.api.artifacts.result

## Interface UnresolvedDependencyResult

- All Superinterfaces:
    `DependencyResult`

      public interface UnresolvedDependencyResult
      extends DependencyResult

  A dependency that could not be resolved.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `ComponentSelector` | `getAttempted()` | Returns the selector that was attempted to be resolved.
    `ComponentSelectionReason` | `getAttemptedReason()` | Returns the reasons why the failed selector was attempted.
    `java.lang.Throwable` | `getFailure()` | The failure that occurred.

    - ### Methods inherited from interface org.gradle.api.artifacts.result.DependencyResult

      `getFrom, getRequested, isConstraint`

- - ### Method Detail

    - #### getAttempted

          ComponentSelector getAttempted()

      Returns the selector that was attempted to be resolved. This may not be the same as the requested component.

    - #### getAttemptedReason

          ComponentSelectionReason getAttemptedReason()

      Returns the reasons why the failed selector was attempted.

    - #### getFailure

          java.lang.Throwable getFailure()

      The failure that occurred.