# setAnnotationProcessorGeneratedSourcesDirectory

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

### 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.