api / org.gradle.api.artifacts.result / UnresolvedArtifactResult

UnresolvedArtifactResult

@Incubating interface UnresolvedArtifactResult : ArtifactResult

An artifact that could not be resolved.

Since
2.0

Functions

getFailure

abstract fun getFailure(): Throwable

The failure that occurred when the artifact was resolved.

Inherited Functions

getId

abstract fun getId(): ComponentArtifactIdentifier

Returns an identifier for this artifact.

getType

abstract fun getType(): Class<out Artifact>

Returns the type of this artifact.