targetFile

fun targetFile(lexerClass: String): Provider<RegularFile>
fun targetFile(lexerClass: Provider<String>): Provider<RegularFile>

The location of the lexer class computed from the targetOutputDir. Because the lexer class is defined in the flex file, it needs to be passed here too.


@get:Internal
abstract val targetFile: RegularFileProperty

Deprecated (with error)

The generated lexerClass is set in the flex file. |Use targetOutDir if you want to get the folder or targetFile("LexerName") to get the generated lexer file

Replace with

targetFile(targetClass)

The output file computed from the targetDir and targetClass properties.