@@ -3,41 +3,39 @@ name := "simple-mongo"
33
44organization := " com.sfxcode.nosql"
55
6- version := " 1.0.0 "
6+ crossScalaVersions := Seq ( " 2.12.3 " , " 2.11.11 " )
77
8- crossScalaVersions := Seq ( " 2.12.2" ," 2.11.11" )
9-
10- scalaVersion := " 2.12.2"
8+ scalaVersion := " 2.12.3"
119
1210scalacOptions += " -deprecation"
1311
14- parallelExecution in Test := false
15-
16- javacOptions ++= Seq (" -source" , " 1.8" )
17-
18- javacOptions ++= Seq (" -target" , " 1.8" )
12+ lazy val root = (project in file(" ." )).
13+ enablePlugins(BuildInfoPlugin ).
14+ settings(
15+ buildInfoKeys := Seq [BuildInfoKey ](name, version, scalaVersion, sbtVersion),
16+ buildInfoPackage := " com.sfxcode.nosql.mongo"
17+ )
1918
20- scalacOptions += " -target:jvm-1.8 "
19+ buildInfoOptions += BuildInfoOption . BuildTime
2120
22- parallelExecution in Test := false
2321
2422
2523// Test
2624
27- libraryDependencies += " org.specs2" %% " specs2-core" % " 3.9.1 " % " test"
25+ libraryDependencies += " org.specs2" %% " specs2-core" % " 4.0.0 " % " test"
2826
2927libraryDependencies += " ch.qos.logback" % " logback-classic" % " 1.2.3" % " test"
3028
31- libraryDependencies += " com.typesafe" % " config" % " 1.3.1 " % " test"
29+ libraryDependencies += " com.typesafe" % " config" % " 1.3.2 " % " test"
3230
33- libraryDependencies += " joda-time" % " joda-time" % " 2.9.9" % " test"
31+ libraryDependencies += " joda-time" % " joda-time" % " 2.9.9" % " test"
3432
35- libraryDependencies += " org.json4s" %% " json4s-native" % " 3.5.2 " % " test"
33+ libraryDependencies += " org.json4s" %% " json4s-native" % " 3.5.3 " % " test"
3634
3735libraryDependencies += " org.mongodb.scala" %% " mongo-scala-driver" % " 2.1.0"
3836
3937
40- libraryDependencies += " com.typesafe.scala-logging" %% " scala-logging" % " 3.7.1 "
38+ libraryDependencies += " com.typesafe.scala-logging" %% " scala-logging" % " 3.7.2 "
4139
4240
4341licenses += (" Apache-2.0" , url(" https://www.apache.org/licenses/LICENSE-2.0.html" ))
0 commit comments