Skip to main content
deleted 22 characters in body; edited title
Source Link
Mark Rotteveel
  • 110.6k
  • 245
  • 162
  • 235

sbt - Plugin compilation using wrong scalaScala version

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

sbt - Plugin compilation using wrong scala version

I am upgrading from Scala 2.13 -> 2.13.

After many changes my project compiles from Intellij however 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

Plugin compilation using wrong Scala version

I am upgrading from Scala 2.13 -> 2.13.

After many changes my project compiles from IntelliJ, 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?

Source Link
Terry Dactyl
  • 1.9k
  • 14
  • 25

sbt - Plugin compilation using wrong scala version

I am upgrading from Scala 2.13 -> 2.13.

After many changes my project compiles from Intellij however 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

lang-scala