Resolved Configuration
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
Link copied to clipboard
Returns the ResolvedDependency instances for each direct dependency of the configuration.
abstract fun getFirstLevelModuleDependencies(dependencySpec: Spec<in Dependency>): Set<ResolvedDependency>
Returns the ResolvedDependency instances for each direct dependency of the configuration that matches the given spec.
Link copied to clipboard
Provides configuration that does not fail eagerly when some dependencies are not resolved.
Link copied to clipboard
Returns the set of artifact meta-data for this configuration.
Link copied to clipboard
A resolve of a configuration that is not successful does not automatically throws an exception.