我的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
这是预期的吗?