forked from scala/scala-xml
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
26 lines (15 loc) · 787 Bytes
/
build.sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
import com.typesafe.tools.mima.plugin.{MimaPlugin, MimaKeys}
scalaModuleSettings
name := "scala-xml"
version := "1.0.5-SNAPSHOT"
scalaVersion := crossScalaVersions.value.head
crossScalaVersions := Seq("2.11.6", "2.12.0-M1")
// important!! must come here (why?)
scalaModuleOsgiSettings
OsgiKeys.exportPackage := Seq(s"scala.xml.*;version=${version.value}")
libraryDependencies += "junit" % "junit" % "4.11" % "test"
libraryDependencies += "com.novocode" % "junit-interface" % "0.10" % "test"
//// testing:
// used in CompilerErrors test
libraryDependencies += ("org.scala-lang" % "scala-compiler" % scalaVersion.value % "test").exclude("org.scala-lang.modules", s"scala-xml*")
mimaPreviousVersion := Some("1.0.1")