@@ -70,6 +70,8 @@ lazy val compat = MultiScalaCrossProject(JSPlatform, JVMPlatform, NativePlatform
70
70
if (scalaVersion.value.startsWith(" 2.13." ) || isDotty.value) sharedSourceDir / " scala-2.13"
71
71
else sharedSourceDir / " scala-2.11_2.12"
72
72
},
73
+ versionScheme := Some (" early-semver" ),
74
+ versionPolicyIntention := Compatibility .BinaryCompatible ,
73
75
)
74
76
.jvmSettings(
75
77
Test / unmanagedSourceDirectories += (ThisBuild / baseDirectory).value / " compat/src/test/scala-jvm" ,
@@ -144,6 +146,7 @@ lazy val `binary-compat` = project
144
146
scalaVersion := scala212,
145
147
libraryDependencies += " com.typesafe" %% " mima-core" % " 0.8.0" % Test ,
146
148
junit,
149
+ versionPolicyIntention := Compatibility .None ,
147
150
buildInfoPackage := " build" ,
148
151
buildInfoKeys := Seq [BuildInfoKey ](
149
152
" oldClasses" -> (`binary-compat-old` / Compile / classDirectory).value.toString,
@@ -166,6 +169,7 @@ lazy val `scalafix-rules` = project
166
169
.settings(
167
170
organization := (compat212JVM / organization).value,
168
171
publishTo := (compat212JVM / publishTo).value,
172
+ versionPolicyIntention := Compatibility .None ,
169
173
name := " scala-collection-migrations" ,
170
174
scalaVersion := scalafixScala212,
171
175
libraryDependencies += " ch.epfl.scala" %% " scalafix-core" % scalafixVersion
@@ -361,6 +365,7 @@ inThisBuild(
361
365
List (s """ ++ ${sys.env.get(" TRAVIS_SCALA_VERSION" ).get}! """ ),
362
366
List (s " $projectPrefix/clean " ),
363
367
List (s " $testProjectPrefix/test " ),
368
+ List (s " $projectPrefix/versionPolicyCheck " ),
364
369
List (s " $projectPrefix/publishLocal " ),
365
370
publishTask
366
371
).flatten
0 commit comments