Ignore scala-xml version mismatch in 2.13

Hope this isn't a problem downstream…
This commit is contained in:
Alexandre Archambault 2022-08-12 17:53:32 +02:00
parent f73ea018ed
commit 117ff375b9
1 changed files with 7 additions and 0 deletions

View File

@ -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)