targetDir

@get:Internal
abstract val targetDir: Property<String>

Deprecated (with error)

Use targetOutputDir instead.

Replace with

targetOutputDir.set(project.layout.projectDirectory.dir(targetDir))

The path to the target directory for the generated lexer.