@@ -53,6 +53,10 @@ val munitCatsEffectVersion = "2.0.0"
53
53
val disciplineVersion = " 2.0.0"
54
54
val scalacheckEffectVersion = " 1.0.4"
55
55
56
+ // All the versions we want to check against for binary compatibility.
57
+ // In general, every time we release a new version, we should add it here.
58
+ val mimaPreviousVersions = Set (" 4.0.0" )
59
+
56
60
val core = crossProject(JVMPlatform , JSPlatform )
57
61
.in(file(" modules/core" ))
58
62
.settings(
@@ -67,7 +71,7 @@ val core = crossProject(JVMPlatform, JSPlatform)
67
71
" org.typelevel" %%% " cats-laws" % catsVersion % Test ,
68
72
" org.typelevel" %%% " discipline-munit" % disciplineVersion % Test
69
73
),
70
- mimaPreviousArtifacts := Set .empty ,
74
+ mimaPreviousArtifacts := mimaPreviousVersions.map(v => organization.value %%% name.value % v) ,
71
75
Test / tpolecatExcludeOptions += ScalacOptions .warnNonUnitStatement
72
76
)
73
77
val coreJVM = core.jvm
@@ -86,6 +90,7 @@ val mtlRetry = crossProject(JVMPlatform, JSPlatform)
86
90
" org.scalameta" %%% " munit-scalacheck" % munitVersion % Test
87
91
),
88
92
mimaPreviousArtifacts := Set .empty,
93
+ mimaPreviousArtifacts := mimaPreviousVersions.map(v => organization.value %%% name.value % v),
89
94
Test / tpolecatExcludeOptions += ScalacOptions .warnNonUnitStatement
90
95
)
91
96
val mtlJVM = mtlRetry.jvm
0 commit comments