Reputation: 4886
In my build.sbt I have the lines
scalaVersion := "2.10.0-M6"
libraryDependencies ++= List(
"com.typesafe" %% "slick" % "0.11.0",
"org.slf4j" %% "slf4j-nop" % "1.6.4"
)
running sbt update
shows an unresolved dependency exception. When I look at the URL sbt is trying to retrieve for the library, I see it's looking for com.typesafe$slick_2.10;0.11.0
.
Why isn't the full ScalaVersion
appended? Is there an option I can use to cause it to use the entire version instead of the truncated one?
Upvotes: 2
Views: 492
Reputation: 10776
This should work starting with sbt 0.12
. See Cross-building at sbt wiki.
"com.typesafe" % "slick" % "0.11.0" cross CrossVersion.full
Upvotes: 3