2017-04-02 21:51:11 +02:00
|
|
|
|
|
|
|
|
import sbt._
|
|
|
|
|
import sbt.Keys._
|
|
|
|
|
|
|
|
|
|
import com.typesafe.tools.mima.plugin.MimaKeys._
|
|
|
|
|
|
|
|
|
|
object Mima {
|
|
|
|
|
|
2017-04-11 15:19:27 +02:00
|
|
|
def binaryCompatibilityVersion = "1.0.0-RC1"
|
2017-04-02 21:51:11 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
lazy val previousArtifacts = Seq(
|
|
|
|
|
mimaPreviousArtifacts := {
|
2017-04-11 15:19:27 +02:00
|
|
|
Set(organization.value %% moduleName.value % binaryCompatibilityVersion)
|
2017-04-02 21:51:11 +02:00
|
|
|
}
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
lazy val coreFilters = {
|
|
|
|
|
mimaBinaryIssueFilters ++= {
|
|
|
|
|
import com.typesafe.tools.mima.core._
|
2017-04-11 15:19:27 +02:00
|
|
|
|
2017-04-02 21:51:11 +02:00
|
|
|
Seq(
|
2017-04-11 15:19:27 +02:00
|
|
|
// ignore shaded-stuff related errors
|
|
|
|
|
(pb: Problem) => pb.matchName.forall(!_.startsWith("coursier.shaded.")),
|
|
|
|
|
// was private, now removed
|
|
|
|
|
ProblemFilters.exclude[MissingClassProblem]("coursier.ivy.PropertiesPattern$Parser$"),
|
|
|
|
|
// made private so that the shaded fastparse stuff doesn't leak
|
|
|
|
|
ProblemFilters.exclude[DirectMissingMethodProblem]("coursier.ivy.PropertiesPattern.parser")
|
2017-04-02 21:51:11 +02:00
|
|
|
)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
lazy val cacheFilters = {
|
|
|
|
|
mimaBinaryIssueFilters ++= {
|
|
|
|
|
import com.typesafe.tools.mima.core._
|
|
|
|
|
|
2017-04-11 15:19:27 +02:00
|
|
|
Seq()
|
2017-04-02 21:51:11 +02:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|