target File
Deprecated
You may specify the expected output directory relative to targetRootOutputDir instead.
Replace with
targetRootOutputDir.file(/* add package if necessary */ "${lexerClass}.java")Content copied to clipboard
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.
Deprecated
You may specify the expected output directory relative to targetRootOutputDir instead.
Replace with
targetRootOutputDir.file(lexerClass.map { /* add package if necessary */ "${it}.java"})Content copied to clipboard
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.