diff --git a/build.sbt b/build.sbt index 7fe17071d..8d9c6b1ee 100644 --- a/build.sbt +++ b/build.sbt @@ -83,11 +83,11 @@ mimaPreviousArtifacts := { val m = "com.typesafe.sbt" %% moduleName.value % "1.3.15" val sbtBinV = (pluginCrossBuild / sbtBinaryVersion).value val scalaBinV = (update / scalaBinaryVersion).value - if (scalaBinV == "2.10") { - println(s"Skip MiMa check for SBT binary version ${sbtBinV} as scala ${scalaBinV} is not supported") - Set.empty - } else - Set(Defaults.sbtPluginExtra(m cross CrossVersion.disabled, sbtBinV, scalaBinV)) + scalaBinV match { + case "2.12" => + Set(Defaults.sbtPluginExtra(m cross CrossVersion.disabled, sbtBinV, scalaBinV)) + case _ => Set.empty + } } // Release configuration