gradle
8.3

# ResolvedConfiguration

interface ResolvedConfiguration

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

## Functions

getFiles
Link copied to clipboard
abstract fun getFiles(): Set<File>
Returns the files for the configuration dependencies.
abstract fun getFiles(dependencySpec: Spec<out Any>): Set<File>
Returns the files for the specified subset of configuration dependencies.
getFirstLevelModuleDependencies
Link copied to clipboard
abstract fun getFirstLevelModuleDependencies(): Set<ResolvedDependency>
Returns the ResolvedDependency instances for each direct dependency of the configuration.
abstract fun getFirstLevelModuleDependencies(dependencySpec: Spec<out Any>): Set<ResolvedDependency>
Returns the ResolvedDependency instances for each direct dependency of the configuration that matches the given spec.
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()
A resolve of a configuration that is not successful does not automatically throws an exception.