gradle
8.6

# getFiles

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

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>(source)

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.