# getFiles

abstract fun getFiles(): Set<File>(source)

### Deprecated

Returns successfully resolved files. Ignores dependencies or files that cannot be resolved.

#### Return

resolved dependencies files

#### Since

3.3

#### Deprecated

Use a lenient ArtifactView instead.

abstract fun getFiles(dependencySpec: Spec<in Dependency>): Set<File>(source)

### Deprecated

Returns successfully resolved files. Ignores dependencies or files that cannot be resolved.

#### Return

resolved dependencies files

#### Deprecated

Use a lenient ArtifactView with a `componentFilter` instead.

#### Parameters

dependencySpec

dependency spec