Overview | Package | Class | Deprecated | Index | Help
| Groovy Documentation
| FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD

## org.gradle.api.artifacts
[Java] Interface LenientConfiguration

    public interface LenientConfiguration

Resolved configuration that does not fail eagerly when some dependencies are not resolved.

Method Summary
`java.util.Set` | `getFiles(Spec dependencySpec)` returns files for successfully resolved dependencies
`java.util.Set` | `getFirstLevelModuleDependencies(Spec dependencySpec)` returns successfully resolved dependencies
`java.util.Set` | `getUnresolvedModuleDependencies()` returns dependencies that were attempted to resolve but failed.

Method Detail

### getFiles

    public java.util.Set getFiles(Spec dependencySpec)

  returns files for successfully resolved dependencies
  Parameters:
    `dependencySpec` - dependency spec
  Returns:
    resolved dependencies files

### getFirstLevelModuleDependencies

    public java.util.Set getFirstLevelModuleDependencies(Spec dependencySpec)

  returns successfully resolved dependencies
  Parameters:
    `dependencySpec` - dependency spec
  Returns:
    only resolved dependencies

### getUnresolvedModuleDependencies

    public java.util.Set getUnresolvedModuleDependencies()

  returns dependencies that were attempted to resolve but failed. If empty then all dependencies are neatly resolved.
  Returns:
    only unresolved dependencies

Groovy Documentation