build: fix mima checking for Akka 2.6.0 (#28300)
Previously, due to a syntax problem, only typed artifacts were checked against 2.6.0. Co-Authored-By: Arnout Engelen <github@bzzt.net>
This commit is contained in:
parent
cf0af245ef
commit
d0027850e6
4 changed files with 29 additions and 9 deletions
|
|
@ -33,15 +33,19 @@ object MiMa extends AutoPlugin {
|
|||
else if (projectName.contains("coordination")) 22
|
||||
else 0
|
||||
|
||||
if (!(projectName.contains("typed") || projectName.contains("jackson"))) {
|
||||
// 2.5.18 is the only release built with Scala 2.12.7, which due to
|
||||
// https://github.com/scala/bug/issues/11207 produced many more
|
||||
// static methods than expected. These are hard to filter out, so
|
||||
// we exclude it here and rely on the checks for 2.5.17 and 2.5.19.
|
||||
expandVersions(2, 5, ((firstPatchOf25 to latestPatchOf25).toSet - 18).toList)
|
||||
} else {
|
||||
Nil
|
||||
} ++ expandVersions(2, 6, 0 to latestPatchOf26)
|
||||
val akka25Previous =
|
||||
if (!(projectName.contains("typed") || projectName.contains("jackson"))) {
|
||||
// 2.5.18 is the only release built with Scala 2.12.7, which due to
|
||||
// https://github.com/scala/bug/issues/11207 produced many more
|
||||
// static methods than expected. These are hard to filter out, so
|
||||
// we exclude it here and rely on the checks for 2.5.17 and 2.5.19.
|
||||
expandVersions(2, 5, ((firstPatchOf25 to latestPatchOf25).toSet - 18).toList)
|
||||
} else {
|
||||
Nil
|
||||
}
|
||||
val akka26Previous = expandVersions(2, 6, 0 to latestPatchOf26)
|
||||
|
||||
akka25Previous ++ akka26Previous
|
||||
}
|
||||
|
||||
val akka25PromotedArtifacts = Set("akka-distributed-data")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue