I am upgrading from Scala 2.13 -> 2.13.
After many changes my project compiles from Intellij howeverIntelliJ, but sbt fails on launch (before any tasks are launched) with compilation errors due to one of my upgrade changes (Stream -> LazyList).
My build.sbt file references Scala 2.13.12 however it appears that when launching sbt some of the plugin source files are being compiled against Scala 2.12.
Could anyone advise how to control the version of Scala that these plugin source files are compiled with?
Regards
Terry