How to fallback Scala version for SBT dependencies?

Viewed 2198

I have dependencies in my build.sbt that don't have specific builds for the Scala 2.9.0-1 I'm using, instead I'm supposed to use the build for 2.9.0. How to configure the build so that it determines that without specifying the exact version for each dependency? For instance subcut doesn't have a build for 2.9.0-1.

Some lines off my build.sbt:

...
scalaVersion := "2.9.0-1"
libraryDependencies ++= Seq(
  "org.scala-tools" %% "subcut" % "0.8"
)
...

I'd rather avoid this:

  "org.scala-tools" % "subcut_2.9.0" % "0.8"

Something along the lines of specifying multiple versions it'd try in the specified order.

1 Answers
Related