JetBrains / sbt-idea-plugin

Develop IntelliJ plugins with Scala and SBT
Apache License 2.0
98 stars 28 forks source link

Scala major version should be set automatically when depending on Scala plugin #17

Open mutcianm opened 5 years ago

mutcianm commented 5 years ago

Due to Scala's binary incompatibility between major release versions, a situation may occur when the user sets project's scalaVersion to a different major version from the one used in Scala plugin for IJ. While the compilation may succeed user plugin project will fail to run with cryptic classloading errors because due to IJ classloading mechanism scala-library from parent's classloader will be used and the version won't match. See #11