From 117ff375b9aca2fa52bd084b8fe03ce9b26ca1e4 Mon Sep 17 00:00:00 2001 From: Alexandre Archambault Date: Fri, 12 Aug 2022 17:53:32 +0200 Subject: [PATCH] Ignore scala-xml version mismatch in 2.13 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Hope this isn't a problem downstream… --- project/Settings.scala | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/project/Settings.scala b/project/Settings.scala index 7c183ad1a..ad7d8632f 100644 --- a/project/Settings.scala +++ b/project/Settings.scala @@ -36,6 +36,13 @@ object Settings { scalacOptions ++= { if (isAtLeastScala213.value) Seq("-Ymacro-annotations") else Nil + }, + libraryDependencySchemes ++= { + val sv = scalaVersion.value + if (sv.startsWith("2.13.")) + Seq("org.scala-lang.modules" %% "scala-xml" % "always") + else + Nil } ) ++ { val prop = sys.props.getOrElse("publish.javadoc", "").toLowerCase(Locale.ROOT)