Is it possible to configure SBT to use a completely different library version when cross building, depending on the scala version the project is being built with?
For example:
- When building with Scala
2.9.2I want to use"org.scalatest" % "scalatest_2.9.2" % "2.0.M5" % "test" - When building with scala
2.10.0I want to use"org.scalatest" % "scalatest_2.10.0-RC5" % "2.0.M5-B1" % "test"
Something like this should work:
I assumed that you actually meant that the library versions should be the other way around? 🙂
You can see variations on this theme in the ScalaMock 2 build.