getOutputBaseDir

public DirectoryProperty getOutputBaseDir()

Allows configuring the path to the root directory with the generated code.

By default, points at the $projectDir/generated/ directory.