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