# LenientConfiguration

interface LenientConfiguration(source)

Resolved configuration that does not fail eagerly when some dependencies are not resolved, or some artifacts do not exist.

This is a legacy API. Avoid this class for new code. Lenient artifacts can be acquired through a lenient ArtifactView. 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.

#### Since

1.0

## Functions

getAllModuleDependencies
Link copied to clipboard
abstract fun getAllModuleDependencies(): Set<ResolvedDependency>
Returns all successfully resolved dependencies including transitive dependencies.
getArtifacts
Link copied to clipboard
abstract fun getArtifacts(): Set<ResolvedArtifact>
Gets successfully resolved artifacts.
getFirstLevelModuleDependencies
Link copied to clipboard
abstract fun getFirstLevelModuleDependencies(): Set<ResolvedDependency>
Returns successfully resolved direct dependencies.
getUnresolvedModuleDependencies
Link copied to clipboard
abstract fun getUnresolvedModuleDependencies(): Set<UnresolvedDependency>
returns dependencies that were attempted to resolve but failed.