File tree Expand file tree Collapse file tree 2 files changed +13
-5
lines changed Expand file tree Collapse file tree 2 files changed +13
-5
lines changed Original file line number Diff line number Diff line change 1313 - CI_TEST : ci-slow
1414 CI_SCALA_VERSION : 2.11.11
1515 - CI_TEST : scalafmt
16+ - CI_TEST : mimaReportBinaryIssues
1617
1718cache :
1819 directories :
Original file line number Diff line number Diff line change @@ -65,11 +65,17 @@ lazy val publishSettings = Seq(
6565 " scm:git:[email protected] :scalacenter/scalafix.git" 6666 )
6767 ),
68- mimaPreviousArtifacts := Set (
69- organization.value %
70- s " ${moduleName.value}_ ${scalaBinaryVersion.value}" %
71- sys.props.getOrElse(" scalafix.stable.version" , stableVersion.value)
72- ),
68+ mimaPreviousArtifacts := {
69+ // NOTE(olafur) shudder, can't figure out simpler way to do the same.
70+ val binaryVersion =
71+ if (crossVersion.value.isInstanceOf [CrossVersion .Full ]) scalaVersion.value
72+ else scalaBinaryVersion.value
73+ Set (
74+ organization.value %
75+ s " ${moduleName.value}_ $binaryVersion" %
76+ sys.props.getOrElse(" scalafix.stable.version" , stableVersion.value)
77+ )
78+ },
7379 mimaBinaryIssueFilters ++= Mima .ignoredABIProblems,
7480 pomExtra :=
7581 <developers >
@@ -243,6 +249,7 @@ lazy val `scalafix-sbt` = project
243249 )(state.value)
244250 },
245251 moduleName := " sbt-scalafix" ,
252+ mimaPreviousArtifacts := Set .empty,
246253 scriptedLaunchOpts ++= Seq (
247254 " -Dplugin.version=" + version.value,
248255 // .jvmopts is ignored, simulate here
You can’t perform that action at this time.
0 commit comments