@@ -7,9 +7,10 @@ import com.typesafe.sbt.osgi.{OsgiKeys, SbtOsgi}
77lazy val commonSettings = scalaModuleSettings ++ Seq (
88 repoName := " scala-continuations" ,
99 organization := " org.scala-lang.plugins" ,
10- version := " 1.0.1-SNAPSHOT" ,
11- scalaVersion := " 2.11.4" ,
12- snapshotScalaBinaryVersion := " 2.11.4" ,
10+ version := " 1.0.3-SNAPSHOT" ,
11+ scalaVersion := " 2.11.8" ,
12+ crossScalaVersions := Seq (" 2.11.8" , " 2.12.0-M4" ),
13+ snapshotScalaBinaryVersion := " 2.11.8" ,
1314 scalacOptions ++= Seq (
1415 " -deprecation" ,
1516 " -feature" )
@@ -29,7 +30,7 @@ val pluginJar = packageTask in (plugin, Compile)
2930// TODO: the library project's test are really plugin tests, but we first need that jar
3031lazy val library = project settings (scalaModuleOsgiSettings : _* ) settings (MimaPlugin .mimaDefaultSettings: _* ) settings (
3132 name := " scala-continuations-library" ,
32- MimaKeys .previousArtifact := Some (organization.value % s " ${name.value}_2.11.0-RC1 " % " 1.0.0" ),
33+ MimaKeys .mimaPreviousArtifacts := Set (organization.value % s " ${name.value}_2.11.0-RC1 " % " 1.0.0" ),
3334 scalacOptions ++= Seq (
3435 // add the plugin to the compiler
3536 s " -Xplugin: ${pluginJar.value.getAbsolutePath}" ,
@@ -48,7 +49,7 @@ lazy val library = project settings (scalaModuleOsgiSettings: _*) settings (Mima
4849 ),
4950 // run mima during tests
5051 test in Test := {
51- MimaKeys .reportBinaryIssues .value
52+ MimaKeys .mimaReportBinaryIssues .value
5253 (test in Test ).value
5354 },
5455 OsgiKeys .exportPackage := Seq (s " scala.util.continuations;version= ${version.value}" )
0 commit comments