Skip to content

Commit

Permalink
Add whitelist entries for HashAPI changes
Browse files Browse the repository at this point in the history
  • Loading branch information
retronym committed Mar 1, 2018
1 parent 52959c9 commit 9a94418
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -454,6 +454,27 @@ lazy val zincApiInfo = (project in internalPath / "zinc-apiinfo")
crossScalaVersions := compilerBridgeTestScalaVersions,
compilerVersionDependentScalacOptions,
mimaSettings,
mimaBinaryIssueFilters ++= {
import com.typesafe.tools.mima.core._
import com.typesafe.tools.mima.core.ProblemFilters._
Seq(
exclude[IncompatibleMethTypeProblem]("xsbt.api.HashAPI.hashTypeParameters"),
exclude[IncompatibleMethTypeProblem]("xsbt.api.HashAPI.hashAnnotations"),
exclude[IncompatibleMethTypeProblem]("xsbt.api.HashAPI.hashParameters"),
exclude[DirectMissingMethodProblem]("xsbt.api.HashAPI.hashDefinitionsWithExtraHashes"),
exclude[DirectMissingMethodProblem]("xsbt.api.HashAPI.hashSeq"),
exclude[IncompatibleMethTypeProblem]("xsbt.api.HashAPI.hashValueParameters"),
exclude[IncompatibleMethTypeProblem]("xsbt.api.HashAPI.hashAnnotationArguments"),
exclude[IncompatibleMethTypeProblem]("xsbt.api.HashAPI.hashTypes"),
exclude[IncompatibleMethTypeProblem]("xsbt.api.Visit.visitTypeParameters"),
exclude[IncompatibleMethTypeProblem]("xsbt.api.Visit.visitDefinitions"),
exclude[IncompatibleMethTypeProblem]("xsbt.api.Visit.visitAnnotationArguments"),
exclude[IncompatibleMethTypeProblem]("xsbt.api.Visit.visitAnnotations"),
exclude[IncompatibleMethTypeProblem]("xsbt.api.Visit.visitValueParameters"),
exclude[IncompatibleMethTypeProblem]("xsbt.api.Visit.visitParameters"),
exclude[IncompatibleMethTypeProblem]("xsbt.api.Visit.visitTypes"),
)
}
)

// Utilities related to reflection, managing Scala versions, and custom class loaders
Expand Down

0 comments on commit 9a94418

Please sign in to comment.