File tree 2 files changed +18
-4
lines changed
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
+
1
3
scalaModuleSettings
2
4
3
5
name := " scala-parser-combinators"
4
6
5
- version := " 1.0.0 -SNAPSHOT"
7
+ version := " 1.0.1 -SNAPSHOT"
6
8
7
- scalaVersion := " 2.11.0-M8 "
9
+ scalaVersion := " 2.11.0-RC1 "
8
10
9
- snapshotScalaBinaryVersion := " 2.11.0-M8 "
11
+ snapshotScalaBinaryVersion := " 2.11.0-RC1 "
10
12
11
13
// important!! must come here (why?)
12
14
scalaModuleOsgiSettings
@@ -19,3 +21,13 @@ fork in Test := true
19
21
libraryDependencies += " junit" % " junit" % " 4.11" % " test"
20
22
21
23
libraryDependencies += " 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