Tuesday, 2 August 2016

Dependencies Conflicts in SBT

9:27 AM SBT project import
[warn] Multiple dependencies with the same organization/name but different versions. To avoid conflict, pick one version:
[warn]  * org.scala-lang:scala-compiler:(2.11.0, 2.11.8)
[warn]  * org.scala-lang.modules:scala-xml_2.11:(1.0.2, 1.0.4)

We can add
"org.scala-lang" % "scala-compiler" % "2.11.8",
in build.sbt, It forces compiler to choose concrete version of libraries.

No comments:

Post a Comment