Skip to content

Commit

Permalink
disable mima for 2.11
Browse files Browse the repository at this point in the history
  • Loading branch information
johnynek committed May 6, 2021
1 parent 91e22f7 commit 2d459d2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@ ThisBuild / publishFullName := "P. Oscar Boykin"

ThisBuild / crossScalaVersions := List("3.0.0-RC2", "3.0.0-RC3", "2.11.12", "2.12.13", "2.13.5")

ThisBuild / versionIntroduced := Map(
"2.11.12" -> "0.3.4"
)

ThisBuild / spiewakCiReleaseSnapshots := true

ThisBuild / spiewakMainBranches := List("main")
Expand Down Expand Up @@ -133,6 +129,10 @@ lazy val core = crossProject(JSPlatform, JVMPlatform)
val isScala211 = CrossVersion.partialVersion(scalaVersion.value).contains((2, 11))
// this code seems to trigger a bug in 2.11 pattern analysis
if (isScala211) List("-Xno-patmat-analysis") else Nil
},
mimaPreviousArtifacts := {
val isScala211 = CrossVersion.partialVersion(scalaVersion.value).contains((2, 11))
if (isScala211) Set.empty else mimaPreviousArtifacts.value
}
)
.settings(dottyJsSettings(ThisBuild / crossScalaVersions))
Expand Down

0 comments on commit 2d459d2

Please sign in to comment.