targetRootOutputDir

@get:OutputDirectory
@get:Optional
abstract val targetRootOutputDir: DirectoryProperty

The output directory for the generated lexer. The Java file for the lexer is created in a subdirectory matching the packageName. Stale files in the resolved lexer output directory are deleted during task execution, unless purgeOldFiles is explicitly set to false.