gradle
8.2

# getFiles

abstract fun getFiles(): Set<File>

Returns the files for the configuration dependencies.

#### Return

The artifact files of the specified dependencies.

#### Throws

ResolveException

when the resolve was not successful.

abstract fun getFiles(dependencySpec: Spec<out Any>): Set<File>

Returns the files for the specified subset of configuration dependencies.

#### Return

The artifact files of the specified dependencies.

#### Parameters

dependencySpec

The filter for the configuration dependencies.

#### Throws

ResolveException

when the resolve was not successful.