# setAnnotationProcessorGeneratedSourcesDirectory

open fun setAnnotationProcessorGeneratedSourcesDirectory(@Nullable file: File)
open fun setAnnotationProcessorGeneratedSourcesDirectory(file: Provider<File>)

### Deprecated

Sets the directory to place source files generated by annotation processors.

#### Since

4.3

#### Deprecated

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