Skip to content

Commit

Permalink
Merge pull request #784 from mkurz/adjust_mima
Browse files Browse the repository at this point in the history
MiMa should check Scala 3 artifacts
  • Loading branch information
mkurz authored Sep 27, 2023
2 parents 221d2ba + 0da4e37 commit 46b01b3
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ lazy val `play-slick` = (project in file("src/core"))
.settings(mimaSettings)
.settings(
mimaBinaryIssueFilters ++= Seq(
ProblemFilters.exclude[DirectMissingMethodProblem]("play.api.db.slick.HasDatabaseConfig.db")
)
)
.settings(commonSettings)
Expand All @@ -69,16 +68,10 @@ lazy val docs = project
ThisBuild / playBuildRepoName := "play-slick"

// Binary compatibility is tested against this version
val previousVersion: Option[String] = Some("5.1.0")
val previousVersion: Option[String] = Some("5.2.0-RC1")

ThisBuild / mimaFailOnNoPrevious := false

def mimaSettings = Seq(
mimaPreviousArtifacts := {
if (scalaBinaryVersion.value == "3") {
Set.empty // TODO
} else {
previousVersion.map(organization.value %% moduleName.value % _).toSet
}
}
mimaPreviousArtifacts := previousVersion.map(organization.value %% moduleName.value % _).toSet
)

0 comments on commit 46b01b3

Please sign in to comment.