The readme states that the default target directory for generated sources is ${project.buildDir}/generated/sources/jflex, which seems like a nice idiomatic directory. But it seems like currently this is not correct and it is being generated into build/generated/sources/main.
In fact something including "jflex" and the sourceset name like ${project.buildDir}/generated/sources/jflex/java/${sourceSet.name} would be better to ensure uniqueness of the output directory.
The readme states that the default target directory for generated sources is
${project.buildDir}/generated/sources/jflex
, which seems like a nice idiomatic directory. But it seems like currently this is not correct and it is being generated intobuild/generated/sources/main
.https://github.com/jprante/gradle-plugin-jflex/blob/master/src/main/groovy/org/xbib/gradle/plugin/JFlexPlugin.groovy#L68