Skip to content

Commit

Permalink
Hush mima on scala 3
Browse files Browse the repository at this point in the history
  • Loading branch information
armanbilge committed Jan 18, 2023
1 parent 9718659 commit 07febcc
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,20 @@ lazy val dom = project
"co.fs2" %%% "fs2-core" % fs2Version,
"org.http4s" %%% "http4s-client" % http4sVersion,
"org.scala-js" %%% "scalajs-dom" % scalaJSDomVersion
)
),
mimaBinaryIssueFilters ++= {
import com.typesafe.tools.mima.core._
if (tlIsScala3.value)
Seq(
ProblemFilters.exclude[DirectMissingMethodProblem](
"org.http4s.dom.package.closeReadableStream"),
ProblemFilters.exclude[DirectMissingMethodProblem](
"org.http4s.dom.package.fromReadableStream"),
ProblemFilters.exclude[DirectMissingMethodProblem](
"org.http4s.dom.package.toDomHeaders")
)
else Seq()
}
)
.enablePlugins(ScalaJSPlugin)

Expand Down

0 comments on commit 07febcc

Please sign in to comment.