Skip to content

Commit

Permalink
mima exclusion
Browse files Browse the repository at this point in the history
  • Loading branch information
hamnis committed Jul 2, 2024
1 parent 7a9e613 commit 051a1ed
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import com.typesafe.tools.mima.core._

ThisBuild / organization := "io.circe"
ThisBuild / crossScalaVersions := Seq("2.13.14", "2.12.19", "3.3.3")
ThisBuild / scalaVersion := crossScalaVersions.value.head
Expand Down Expand Up @@ -48,7 +50,13 @@ def jacksonDependencies(version: String, databindVersion: Option[String] = None)
"com.fasterxml.jackson.core" % "jackson-databind" % databindVersion.getOrElse(version)
)

val allSettings = baseSettings ++ publishSettings
val mimaSettings = Seq(
mimaBinaryIssueFilters ++= Seq(
ProblemFilters.exclude[MissingClassProblem]("io.circe.jackson.package$EnhancedByteArrayOutputStream")
)
)

val allSettings = baseSettings ++ publishSettings ++ mimaSettings

val root = project
.in(file("."))
Expand Down

0 comments on commit 051a1ed

Please sign in to comment.