api / org.gradle.api.artifacts / ArtifactView / ViewConfiguration / setLenient

setLenient

abstract fun setLenient(lenient: Boolean): Unit

Specify if the view should be resolved in a 'lenient' fashion. When set to true, this view will resolve as many artifacts and/or files as possible collecting any failures. When set to false, any failures will be propagated as exceptions when the view is resolved.