Skip to content

Commit 5b427b8

Browse files
committed
1 parent e3df7ef commit 5b427b8

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

build.sbt

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,14 @@ lazy val chronoscala = (project in file("."))
6363
}
6464
}
6565
},
66-
mimaBinaryIssueFilters +=
67-
ProblemFilters.exclude[DirectMissingMethodProblem]("jp.ne.opt.chronoscala.Interval.apply"),
66+
//the exclusion filter is necessary for Scala compiler bug
67+
mimaBackwardIssueFilters := Map(
68+
"0.3.0" -> (
69+
if (scalaBinaryVersion.value == "2.12")
70+
Seq(ProblemFilters.exclude[DirectMissingMethodProblem]("jp.ne.opt.chronoscala.Interval.apply"))
71+
else
72+
Nil)
73+
),
6874
test in Test := {
6975
mimaReportBinaryIssues.value
7076
(test in Test).value

0 commit comments

Comments
 (0)