Skip to content

Commit

Permalink
Downgrade scala-parser-combinators (#1455)
Browse files Browse the repository at this point in the history
  • Loading branch information
mkurz committed Aug 31, 2021
1 parent e72f2f4 commit 080ddbb
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,12 @@ libraryDependencies ++= {
case "2.10" => Nil
case _ =>
Seq(
"org.scala-lang.modules" %% "scala-parser-combinators" % "2.0.0",
"org.scala-lang.modules" %% "scala-xml" % "1.1.1"
// Do NOT upgrade these dependencies to 2.x or newer! sbt-native-packager is a sbt-plugin
// and gets published with Scala 2.12, therefore we need to stay at the same major version
// like the 2.12.x Scala compiler, otherwise we run into conflicts when using sbt 1.5+
// See https://github.com/scala/scala/pull/9743
"org.scala-lang.modules" %% "scala-parser-combinators" % "1.1.2", // Do not upgrade beyond 1.x
"org.scala-lang.modules" %% "scala-xml" % "1.3.0" // Do not upgrade beyond 1.x
)
}
}
Expand Down

0 comments on commit 080ddbb

Please sign in to comment.