score:1

Accepted answer

Since you didn't defined a Scala version for the project, when you do %% to include ScalaTest it uses the default one of sbt which is 2.12 thus, causing a binary incompatibility.

I believe the best solution would be to define the proper Scala version of the project using scalaVersion := "2.13.8 and remove its explicit dependency.


Related Query

More Query from same tag