From 204f0dcd6cd237da1437b112df9ba57e3026721f Mon Sep 17 00:00:00 2001 From: David Pratt Date: Mon, 4 Sep 2017 16:48:56 -0500 Subject: [PATCH] Filter spurious mima errors. --- build.sbt | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/build.sbt b/build.sbt index eba2c940e..d0ade0876 100644 --- a/build.sbt +++ b/build.sbt @@ -30,7 +30,16 @@ def commonSettings: Seq[Setting[_]] = Seq( ) val mimaSettings = Def settings ( - mimaPreviousArtifacts := Set(organization.value %% moduleName.value % "1.0.0") + mimaPreviousArtifacts := Set(organization.value %% moduleName.value % "1.0.0"), + mimaBinaryIssueFilters ++= { + import com.typesafe.tools.mima.core._ + import com.typesafe.tools.mima.core.ProblemFilters._ + Seq( + exclude[DirectMissingMethodProblem]("sbt.internal.librarymanagement.ivyint.GigahorseUrlHandler#SbtUrlInfo.this"), + exclude[IncompatibleMethTypeProblem]("sbt.internal.librarymanagement.ivyint.GigahorseUrlHandler#SbtUrlInfo.this"), + exclude[DirectMissingMethodProblem]("sbt.internal.librarymanagement.ivyint.GigahorseUrlHandler.checkStatusCode") + ) + } ) lazy val lmRoot = (project in file("."))