Skip to content

Commit 2d9f9d9

Browse files
committed
fix 2.12 previous
1 parent 60f35f4 commit 2d9f9d9

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

build.sbt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ val unreleasedModules = Set[String]("akka")
126126
val javaOnly = Set[String]("storm", "java", "hadoop", "thrift", "protobuf")
127127
val binaryCompatVersion = "0.8.1"
128128

129-
def youngestForwardCompatible(subProj: String) =
129+
def youngestForwardCompatible(subProj: String, scalaver: String) =
130130
Some(subProj)
131131
.filterNot(unreleasedModules.contains(_))
132132
.map { s =>
@@ -135,6 +135,7 @@ def youngestForwardCompatible(subProj: String) =
135135
else
136136
"com.twitter" %% ("chill-" + s) % binaryCompatVersion
137137
}
138+
.filterNot(_ => scalaver.startsWith("2.12")) // 2.12 0.8.1 was not there
138139

139140
val ignoredABIProblems = {
140141
import com.typesafe.tools.mima.core._
@@ -148,7 +149,7 @@ def module(name: String) = {
148149
val id = "chill-%s".format(name)
149150
Project(id = id, base = file(id), settings = sharedSettings ++ Seq(
150151
Keys.name := id,
151-
mimaPreviousArtifacts := youngestForwardCompatible(name).toSet,
152+
mimaPreviousArtifacts := youngestForwardCompatible(name, scalaVersion.value).toSet,
152153
mimaBinaryIssueFilters ++= ignoredABIProblems,
153154
// Disable cross publishing for java artifacts
154155
publishArtifact :=

0 commit comments

Comments
 (0)