On 30/11/2012, at 9:49 AM, Simon Schäfer <
ma...@antoras.de> wrote:
> In build.sbt I have the following configuration:
>
> scalaVersion := "2.10.0-RC2"
>
> libraryDependencies ++= Seq(
> "org.scalatest" % "scalatest_2.10.0-RC2" % "2.0.M5" % "test"
> )
>
> If I change the dependency of scalatest to
>
> "org.scalatest" %% "scalatest" % "2.0.M5" % "test"
>
> I get the following error:
>
> sbt.ResolveException: unresolved dependency: org.scalatest#scalatest_2.10;2.0.M5: not found
>
> Only the major version is added to the library path. Is it somehow possible to add the RC version, too?
Try adding
scalaBinaryVersion <<= scalaVersion
to your build.sbt. By default for 2.10 and later the binary version is just
the major version whereas before it was the full version. This binary version
setting should not be necessary once 2.10 is released.
cheers,
Tony