@@ -7,9 +7,10 @@ import com.typesafe.sbt.osgi.{OsgiKeys, SbtOsgi}
7
7
lazy val commonSettings = scalaModuleSettings ++ Seq (
8
8
repoName := " scala-continuations" ,
9
9
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" ,
13
14
scalacOptions ++= Seq (
14
15
" -deprecation" ,
15
16
" -feature" )
@@ -29,7 +30,7 @@ val pluginJar = packageTask in (plugin, Compile)
29
30
// TODO: the library project's test are really plugin tests, but we first need that jar
30
31
lazy val library = project settings (scalaModuleOsgiSettings : _* ) settings (MimaPlugin .mimaDefaultSettings: _* ) settings (
31
32
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" ),
33
34
scalacOptions ++= Seq (
34
35
// add the plugin to the compiler
35
36
s " -Xplugin: ${pluginJar.value.getAbsolutePath}" ,
@@ -48,7 +49,7 @@ lazy val library = project settings (scalaModuleOsgiSettings: _*) settings (Mima
48
49
),
49
50
// run mima during tests
50
51
test in Test := {
51
- MimaKeys .reportBinaryIssues .value
52
+ MimaKeys .mimaReportBinaryIssues .value
52
53
(test in Test ).value
53
54
},
54
55
OsgiKeys .exportPackage := Seq (s " scala.util.continuations;version= ${version.value}" )
0 commit comments