Remove scala-xml, unused

This commit is contained in:
Dale Wijnand 2016-10-27 11:43:34 +01:00
parent 1a9b515e33
commit c2b88760ad
No known key found for this signature in database
GPG Key ID: 4F256E3D151DF5EF
2 changed files with 1 additions and 11 deletions

View File

@ -117,7 +117,7 @@ lazy val utilCache = (project in internalPath / "util-cache").
settings(
commonSettings,
name := "Util Cache",
libraryDependencies ++= Seq(sjsonnew, scalaReflect.value, sbtIO) ++ scalaXml.value,
libraryDependencies ++= Seq(sjsonnew, scalaReflect.value, sbtIO),
libraryDependencies += sjsonnewScalaJson % Test
)

View File

@ -11,16 +11,6 @@ object Dependencies {
lazy val scalaCompiler = Def.setting { "org.scala-lang" % "scala-compiler" % scalaVersion.value }
lazy val scalaReflect = Def.setting { "org.scala-lang" % "scala-reflect" % scalaVersion.value }
private def scala211Module(name: String, moduleVersion: String) =
Def.setting {
scalaVersion.value match {
case sv if (sv startsWith "2.9.") || (sv startsWith "2.10.") => Nil
case _ => ("org.scala-lang.modules" %% name % moduleVersion) :: Nil
}
}
lazy val scalaXml = scala211Module("scala-xml", "1.0.5")
val scalaCheck = "org.scalacheck" %% "scalacheck" % "1.13.1"
val scalatest = "org.scalatest" %% "scalatest" % "2.2.6"