@@ -134,7 +134,7 @@ object Build {
134
134
* - `3.M.0` if `P > 0`
135
135
* - `3.(M-1).0` if `P = 0`
136
136
*/
137
- val mimaPreviousDottyVersion = " 3.7.0 "
137
+ val mimaPreviousDottyVersion = " 3.7.3 " // for 3.8.0, we compare against 3.7.3
138
138
139
139
/** LTS version against which we check binary compatibility.
140
140
*
@@ -304,6 +304,7 @@ object Build {
304
304
Test / develocityBuildCacheClient := None ,
305
305
extraDevelocityCacheInputFiles := Seq .empty,
306
306
extraDevelocityCacheInputFiles / outputFileStamper := FileStamper .Hash ,
307
+ resolvers += (" Artifactory" at " https://repo.scala-lang.org/artifactory/fat-jar/" ),
307
308
)
308
309
309
310
// Settings shared globally (scoped in Global). Used in build.sbt
@@ -1636,6 +1637,16 @@ object Build {
1636
1637
publish / skip := false ,
1637
1638
// Project specific target folder. sbt doesn't like having two projects using the same target folder
1638
1639
target := target.value / " scala-library-nonbootstrapped" ,
1640
+ // Add configuration for MiMa
1641
+ mimaCheckDirection := (compatMode match {
1642
+ case CompatMode .BinaryCompatible => " backward"
1643
+ case CompatMode .SourceAndBinaryCompatible => " both"
1644
+ }),
1645
+ mimaExcludeAnnotations += " scala.annotation.experimental" ,
1646
+ mimaPreviousArtifacts += (" org.scala-lang" % " fat-stdlib" % " 3.7.3" ),
1647
+ mimaForwardIssueFilters := MiMaFilters .Scala3Library .ForwardsBreakingChanges ,
1648
+ mimaBackwardIssueFilters := MiMaFilters .Scala3Library .BackwardsBreakingChanges ,
1649
+ customMimaReportBinaryIssues(" MiMaFilters.Scala3Library" ),
1639
1650
)
1640
1651
1641
1652
/* Configuration of the org.scala-lang:scala3-library_3:*.**.**-nonbootstrapped project */
@@ -1748,6 +1759,16 @@ object Build {
1748
1759
scalaCompilerBridgeBinaryJar := {
1749
1760
Some ((`scala3-sbt-bridge-nonbootstrapped` / Compile / packageBin).value)
1750
1761
},
1762
+ // Add configuration for MiMa
1763
+ mimaCheckDirection := (compatMode match {
1764
+ case CompatMode .BinaryCompatible => " backward"
1765
+ case CompatMode .SourceAndBinaryCompatible => " both"
1766
+ }),
1767
+ mimaExcludeAnnotations += " scala.annotation.experimental" ,
1768
+ mimaPreviousArtifacts += (" org.scala-lang" % " fat-stdlib" % " 3.7.3" ),
1769
+ mimaForwardIssueFilters := MiMaFilters .Scala3Library .ForwardsBreakingChanges ,
1770
+ mimaBackwardIssueFilters := MiMaFilters .Scala3Library .BackwardsBreakingChanges ,
1771
+ customMimaReportBinaryIssues(" MiMaFilters.Scala3Library" ),
1751
1772
)
1752
1773
1753
1774
/* Configuration of the org.scala-lang:scala3-library_3:*.**.**-bootstrapped project */
0 commit comments