File tree Expand file tree Collapse file tree 2 files changed +17
-2
lines changed Expand file tree Collapse file tree 2 files changed +17
-2
lines changed Original file line number Diff line number Diff line change 1+ import com .typesafe .tools .mima .plugin .{MimaPlugin , MimaKeys }
2+
13scalaModuleSettings
24
35name := " scala-swing"
@@ -11,4 +13,14 @@ snapshotScalaBinaryVersion := "2.11.0-M8"
1113// important!! must come here (why?)
1214scalaModuleOsgiSettings
1315
14- OsgiKeys .exportPackage := Seq (s " scala.swing.*;version= ${version.value}" )
16+ OsgiKeys .exportPackage := Seq (s " scala.swing.*;version= ${version.value}" )
17+
18+ MimaPlugin .mimaDefaultSettings
19+
20+ MimaKeys .previousArtifact := Some (organization.value % s " ${name.value}_2.11.0-RC1 " % " 1.0.0" )
21+
22+ // run mima during tests
23+ test in Test := {
24+ MimaKeys .reportBinaryIssues.value
25+ (test in Test ).value
26+ }
Original file line number Diff line number Diff line change 1- addSbtPlugin(" org.scala-lang.modules" % " scala-module-plugin" % " 1.0.1" )
1+ addSbtPlugin(" org.scala-lang.modules" % " scala-module-plugin" % " 1.0.1" )
2+
3+ addSbtPlugin(" com.typesafe" % " sbt-mima-plugin" % " 0.1.6" )
4+
You can’t perform that action at this time.
0 commit comments