@@ -16,7 +16,9 @@ def osgiExport(scalaVersion: String, version: String) = {
16
16
lazy val commonSettings = Seq (
17
17
crossScalaVersions := Seq (" 2.13.8" , " 2.12.16" , " 2.11.12" , " 3.1.3" ),
18
18
scalaVersion := crossScalaVersions.value.head,
19
- versionPolicyIntention := Compatibility .BinaryAndSourceCompatible ,
19
+ // we could make this stricter again (BinaryAndSourceCompatible)
20
+ // after our reference version was built on Scala 3.1.x
21
+ versionPolicyIntention := Compatibility .BinaryCompatible ,
20
22
Compile / unmanagedSourceDirectories ++= {
21
23
(Compile / unmanagedSourceDirectories).value.flatMap { dir =>
22
24
CrossVersion .partialVersion(scalaVersion.value) match {
@@ -63,6 +65,17 @@ lazy val scalaJava8Compat = (project in file("."))
63
65
case v => Seq (v)
64
66
},
65
67
68
+ // shouldn't be needed anymore after our reference version is a version
69
+ // built on Scala 3.1.x
70
+ mimaBinaryIssueFilters := {
71
+ import com .typesafe .tools .mima .core .ProblemFilters ._
72
+ import com .typesafe .tools .mima .core ._
73
+ Seq (
74
+ exclude[IncompatibleSignatureProblem ](" scala.compat.java8.*" ),
75
+ exclude[IncompatibleSignatureProblem ](" scala.concurrent.java8.*" ),
76
+ ),
77
+ },
78
+
66
79
testOptions += Tests .Argument (TestFrameworks .JUnit , " -v" , " -a" ),
67
80
68
81
(Compile / sourceGenerators) += Def .task {
0 commit comments