File tree 2 files changed +13
-5
lines changed
2 files changed +13
-5
lines changed Original file line number Diff line number Diff line change 13
13
- CI_TEST : ci-slow
14
14
CI_SCALA_VERSION : 2.11.11
15
15
- CI_TEST : scalafmt
16
+ - CI_TEST : mimaReportBinaryIssues
16
17
17
18
cache :
18
19
directories :
Original file line number Diff line number Diff line change @@ -65,11 +65,17 @@ lazy val publishSettings = Seq(
65
65
" scm:git:[email protected] :scalacenter/scalafix.git"
66
66
)
67
67
),
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
+ },
73
79
mimaBinaryIssueFilters ++= Mima .ignoredABIProblems,
74
80
pomExtra :=
75
81
<developers >
@@ -243,6 +249,7 @@ lazy val `scalafix-sbt` = project
243
249
)(state.value)
244
250
},
245
251
moduleName := " sbt-scalafix" ,
252
+ mimaPreviousArtifacts := Set .empty,
246
253
scriptedLaunchOpts ++= Seq (
247
254
" -Dplugin.version=" + version.value,
248
255
// .jvmopts is ignored, simulate here
You can’t perform that action at this time.
0 commit comments