# ResolvedConfiguration

interface ResolvedConfiguration

A `ResolvedConfiguration` represents the result of resolving a Configuration, and provides access to both the graph and artifacts of the result.

This is a legacy API. Avoid this class for new code. Prefer accessing resolution outputs via getIncoming. This API will be deprecated and removed in future Gradle versions.

- This class is not configuration-cache compatible.
- Returned file sets do not track task dependencies.
- The returned types do not reflect the variant-aware nature of the dependency resolution engine.

## Functions

getFirstLevelModuleDependencies
Link copied to clipboard
abstract fun getFirstLevelModuleDependencies(): Set<ResolvedDependency>
Returns the ResolvedDependency instances for each direct dependency of the configuration.
getLenientConfiguration
Link copied to clipboard
abstract fun getLenientConfiguration(): LenientConfiguration
Provides configuration that does not fail eagerly when some dependencies are not resolved.
getResolvedArtifacts
Link copied to clipboard
abstract fun getResolvedArtifacts(): Set<ResolvedArtifact>
Returns the set of artifact meta-data for this configuration.
hasError
Link copied to clipboard
abstract fun hasError(): Boolean
Returns whether all dependencies were successfully retrieved or not.
rethrowFailure
Link copied to clipboard
abstract fun rethrowFailure()
When a configuration fails to resolve, it does not automatically throw an exception.