gradle
8.6

# LenientConfiguration

interface LenientConfiguration(source)

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

## 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>
abstract fun getArtifacts(dependencySpec: Spec<out Any>): Set<ResolvedArtifact>
Gets successfully resolved artifacts.
getFiles
Link copied to clipboard
abstract fun getFiles(): Set<File>
abstract fun getFiles(dependencySpec: Spec<out Any>): Set<File>
Returns successfully resolved files.
getFirstLevelModuleDependencies
Link copied to clipboard
abstract fun getFirstLevelModuleDependencies(): Set<ResolvedDependency>
Returns successfully resolved direct dependencies.
abstract fun getFirstLevelModuleDependencies(dependencySpec: Spec<out Any>): Set<ResolvedDependency>
Returns successfully resolved dependencies that match the given spec.
getUnresolvedModuleDependencies
Link copied to clipboard
abstract fun getUnresolvedModuleDependencies(): Set<UnresolvedDependency>
returns dependencies that were attempted to resolve but failed.