Skip to content

Commit

Permalink
forcibly make MiMa green
Browse files Browse the repository at this point in the history
  • Loading branch information
SethTisue committed Mar 13, 2021
1 parent f3d7e70 commit 15b3597
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,17 @@ lazy val scalaJava8Compat = (project in file("."))
// think about going 1.0, it's been a while
scalaModuleMimaPreviousVersion := Some("0.9.1"),

mimaBinaryIssueFilters ++= {
import com.typesafe.tools.mima.core._, ProblemFilters._
Seq(
// mysterious -- see scala/scala-java8-compat#211
exclude[DirectMissingMethodProblem ]("scala.compat.java8.Priority1FunctionConverters.enrichAsJavaIntFunction"),
exclude[ReversedMissingMethodProblem]("scala.compat.java8.Priority1FunctionConverters.enrichAsJavaIntFunction"),
exclude[DirectMissingMethodProblem ]("scala.compat.java8.FunctionConverters.package.enrichAsJavaIntFunction" ),
exclude[ReversedMissingMethodProblem]("scala.compat.java8.FunctionConverters.package.enrichAsJavaIntFunction" ),
)
},

testOptions += Tests.Argument(TestFrameworks.JUnit, "-v", "-a"),

(sourceGenerators in Compile) += Def.task {
Expand Down

0 comments on commit 15b3597

Please sign in to comment.