gradle
8.4

# setDestinationDir

open fun setDestinationDir(destinationDir: File)(source)
open fun setDestinationDir(destinationDir: Provider<File>)(source)

### Deprecated

Sets the directory to generate the `.class` files into.

#### Deprecated

Use getDestinationDirectory.set() instead. This method will be removed in Gradle 9.0.

#### Parameters

destinationDir

The destination directory. Must not be null.