sbt-antlr4 icon indicating copy to clipboard operation
sbt-antlr4 copied to clipboard

Change default directory for generated sources

Open JanBessai opened this issue 8 years ago • 1 comments

The src_managed folder should by default adhere to the main/language/package convention. Generated sources are Java code, so they should end up in src_managed/java/package. This especially fixes source duplication bugs in IntelliJ.

JanBessai avatar Apr 11 '16 11:04 JanBessai

The recommendation is now against using (sourceManaged in Compile).value altogether. Instead each plugin should roll out their own directory under target, and append to managedSourceDirectories in Compile. See https://github.com/sbt/sbt/issues/1664#issuecomment-213057686

benmccann avatar Sep 30 '16 05:09 benmccann