Generate boilerplate in shared sources
to a place that works for Intellij
I wonder if it is possible to change a location of boilerplate source files too.
Because currently it is just <root>/project/ which does not seem to be obvious and easy to discover.
I wonder if it is possible to change a location of boilerplate source files too. Because currently it is just
/project/ which does not seem to be obvious and easy to discover.
Yes, this is possible. Here's how sbt-tl uses its own sources in its build. https://github.com/typelevel/sbt-typelevel/blob/2d044e40474cb1ac94d5c446577e541c59ff743a/project/build.sbt#L20-L26
this seems like an IntelliJ issue that should be fixed instead of worked-around.
I agree it should be fixed in Intellij but I don't see why it means that it shouldn't be worked around.
it's an sbt issue and it should be changed at a higher-level (e.g. sbt-typelevel or sbt itself ideally)
Dunno, I think most projects don't generate boilerplate. This change only makes sense when the generated boilerplate is shared sources in a cross-compiled module. And needs a .gitignore addition as well. So it doesn't seem possible to fix that in sbt.