1

我的 build.sbt 中有以下内容:

scalaVersion := "2.11.6"

libraryDependencies ++= Seq(
  jdbc,
  cache,
  ws,
  specs2 % Test,
  "org.scalacheck" %% "scalacheck" % "1.11.1" % "test",
  ("org.scala-lang" % "scala-compiler" %    scalaVersion.value).exclude("org.scala-lang.modules", "scala-parser-combinators"),

)

如果我添加:

"org.sorm-framework" % "sorm" % "0.3.15"

它仍然有效。如果我去 0.3.18 它失败了。

[error] Modules were resolved with conflicting cross-version suffixes in {file:/home/daveh/play-scala/}root:
[error]    org.scala-lang.modules:scala-xml _2.11, _2.12.0-M1
[error]    org.scala-lang.modules:scala-parser-combinators _2.11, _2.12.0-M1

这是可以预料的吗?

4

0 回答 0