File tree Expand file tree Collapse file tree 2 files changed +18
-4
lines changed Expand file tree Collapse file tree 2 files changed +18
-4
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-parser-combinators"
46
5- version := " 1.0.0 -SNAPSHOT"
7+ version := " 1.0.1 -SNAPSHOT"
68
7- scalaVersion := " 2.11.0-M8 "
9+ scalaVersion := " 2.11.0-RC1 "
810
9- snapshotScalaBinaryVersion := " 2.11.0-M8 "
11+ snapshotScalaBinaryVersion := " 2.11.0-RC1 "
1012
1113// important!! must come here (why?)
1214scalaModuleOsgiSettings
@@ -19,3 +21,13 @@ fork in Test := true
1921libraryDependencies += " junit" % " junit" % " 4.11" % " test"
2022
2123libraryDependencies += " com.novocode" % " junit-interface" % " 0.10" % " test"
24+
25+ MimaPlugin .mimaDefaultSettings
26+
27+ MimaKeys .previousArtifact := Some (organization.value % s " ${name.value}_2.11.0-RC1 " % " 1.0.0" )
28+
29+ // run mima during tests
30+ test in Test := {
31+ MimaKeys .reportBinaryIssues.value
32+ (test in Test ).value
33+ }
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.2" )
2+
3+ addSbtPlugin(" com.typesafe" % " sbt-mima-plugin" % " 0.1.6" )
You can’t perform that action at this time.
0 commit comments