Lenient Configuration
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.
Functions
Link copied to clipboard
Returns all successfully resolved dependencies including transitive dependencies.
Link copied to clipboard
Gets successfully resolved artifacts.
Link copied to clipboard
Returns successfully resolved direct dependencies.
abstract fun getFirstLevelModuleDependencies(dependencySpec: Spec<in Dependency>): Set<ResolvedDependency>
Returns successfully resolved dependencies that match the given spec.
Link copied to clipboard
returns dependencies that were attempted to resolve but failed.