From 96b9d27c73f79099d6570191a894821a283efa82 Mon Sep 17 00:00:00 2001 From: Dale Wijnand Date: Wed, 26 Jul 2017 10:52:35 +0100 Subject: [PATCH] Upgrade to mima 0.1.15 & exclude a false positive --- build.sbt | 7 ++++++- project/plugins.sbt | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/build.sbt b/build.sbt index 116b9ca31..c50a1d7b1 100644 --- a/build.sbt +++ b/build.sbt @@ -1,6 +1,6 @@ import Dependencies._ import Util._ -// import com.typesafe.tools.mima.core._, ProblemFilters._ +import com.typesafe.tools.mima.core._, ProblemFilters._ def baseVersion = "1.0.0-SNAPSHOT" def internalPath = file("internal") @@ -106,6 +106,11 @@ lazy val utilLogging = (project in internalPath / "util-logging"). else old(tpe) }, mimaSettings, + mimaBinaryIssueFilters ++= Seq( + // abstract method SuccessEventFormat()sjsonnew.JsonFormat in trait sbt.internal.util.codec.SuccessEventFormats is inherited by class JsonProtocol in current version. + // I think this is a false positive: https://github.com/typesafehub/migration-manager/issues/187 + ProblemFilters.exclude[InheritedNewAbstractMethodProblem]("sbt.internal.util.codec.SuccessEventFormats.SuccessEventFormat") + ) ) // Relation diff --git a/project/plugins.sbt b/project/plugins.sbt index 1e3e62f5d..3411b8c51 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -1,3 +1,3 @@ addSbtPlugin("org.scala-sbt" % "sbt-houserules" % "0.3.3") addSbtPlugin("org.scala-sbt" % "sbt-contraband" % "0.3.0-M9") -addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "0.1.14") +addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "0.1.15")