From d66f21636f256b181b5a23b302656d751f14ce7d Mon Sep 17 00:00:00 2001 From: Alexandre Archambault Date: Sat, 22 Oct 2016 22:24:41 +0200 Subject: [PATCH] Should now be fine with 2.12.0-RC2 --- build.sbt | 8 +++++--- core/shared/src/main/scala/coursier/ivy/IvyXml.scala | 3 ++- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/build.sbt b/build.sbt index dafb9a93c..ecf48c529 100644 --- a/build.sbt +++ b/build.sbt @@ -204,8 +204,7 @@ lazy val core = crossProject ) .jsSettings( libraryDependencies ++= Seq( - "org.scala-js" %%% "scalajs-dom" % "0.9.1", - "be.doeraene" %%% "scalajs-jquery" % "0.9.0" + "org.scala-js" %%% "scalajs-dom" % "0.9.1" ) ) @@ -469,7 +468,10 @@ lazy val web = project .settings( libraryDependencies ++= { if (scalaBinaryVersion.value == "2.11") - Seq("com.github.japgolly.scalajs-react" %%% "core" % "0.9.0") + Seq( + "be.doeraene" %%% "scalajs-jquery" % "0.9.0", + "com.github.japgolly.scalajs-react" %%% "core" % "0.9.0" + ) else Seq() }, diff --git a/core/shared/src/main/scala/coursier/ivy/IvyXml.scala b/core/shared/src/main/scala/coursier/ivy/IvyXml.scala index 3654688bf..3ada607c3 100644 --- a/core/shared/src/main/scala/coursier/ivy/IvyXml.scala +++ b/core/shared/src/main/scala/coursier/ivy/IvyXml.scala @@ -107,7 +107,8 @@ object IvyXml { .find(_.label == "info") .toRightDisjunction("Info not found") - (module, version) <- info(infoNode) + modVer <- info(infoNode) + (module, version) = modVer dependenciesNodeOpt = node.children .find(_.label == "dependencies")