sbt-idea
sbt-idea copied to clipboard
gen-idea creates scala facets for pure java builds.
I'm doing a pure Java project in SBT at the moment with autoScalaLibrary set to false. The idea project generator creates Scala facets which trigger errors and must be manually deleted on every gen-idea run. This isn't a showstopper but it's an inconvenience and it confuses team mates.
Our "Web" subproject had unwanted Scala facets. The following stopped generating the facets: ideaIncludeScalaFacet in Web := false
If I run gen-idea, open that project and go to Project Structure, there is no facet at all and one can't even add a scala facet because of non existing scala compiler. The only way to deal with it is right click on the project and click Add Framework Support