Configuring the Scala plugin so that only a subset of projects is imported

I'm using the sbt-projectmatrix plugin, which causes multiple sbt projects to share the same content root. All of these are imported into IntelliJ which causes content root conflicts.

Is there a way to configure the plugin, so that only a subset of the projects are imported? It would be enough for convenient development if only (hand-picked) variants where imported.

Thanks!

2 comments
Comment actions Permalink

It's possible with:

SettingKey("ideSkipProject") := scalaVersion.value.startsWith("2.12.")
0
Comment actions Permalink

Thanks! Somebody already recommended this solution on Twitter, here's the result: https://github.com/softwaremill/sttp/commit/b36f3176600bbbf0c3fb29e29467a15cce1acffd

0

Please sign in to leave a comment.