Skip to content

Commit cacb35d

Browse files
committed
plugins, dependency Updates
BuildInfo added
1 parent cc2a5a1 commit cacb35d

File tree

4 files changed

+25
-24
lines changed

4 files changed

+25
-24
lines changed

build.sbt

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,41 +3,39 @@ name := "simple-mongo"
33

44
organization := "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

1210
scalacOptions += "-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

2927
libraryDependencies += "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

3735
libraryDependencies += "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

4341
licenses += ("Apache-2.0", url("https://www.apache.org/licenses/LICENSE-2.0.html"))

project/build.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
sbt.version=0.13.15
1+
sbt.version=1.0.2

project/plugin.sbt

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11

2-
addSbtPlugin("net.virtual-void" % "sbt-dependency-graph" % "0.8.2")
2+
// addSbtPlugin("net.virtual-void" % "sbt-dependency-graph" % "0.8.2")
33

4-
addSbtPlugin("com.orrsella" % "sbt-stats" % "1.0.5")
4+
addSbtPlugin("com.orrsella" % "sbt-stats" % "1.0.7")
55

6-
addSbtPlugin("org.scalastyle" %% "scalastyle-sbt-plugin" % "0.8.0")
6+
addSbtPlugin("org.scalastyle" %% "scalastyle-sbt-plugin" % "1.0.0")
77

8-
addSbtPlugin("org.scalariform" % "sbt-scalariform" % "1.6.0")
8+
addSbtPlugin("org.scalariform" % "sbt-scalariform" % "1.8.0")
99

10-
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.4.0")
10+
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.5.1")
1111

12-
addSbtPlugin("com.timushev.sbt" % "sbt-updates" % "0.2.0")
12+
addSbtPlugin("com.timushev.sbt" % "sbt-updates" % "0.3.2")
1313

14-
addSbtPlugin("me.lessis" % "bintray-sbt" % "0.3.0")
14+
addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.7.0")
15+
16+
addSbtPlugin("org.foundweekends" % "sbt-bintray" % "0.5.1")

version.sbt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
version in ThisBuild := "1.0.1"

0 commit comments

Comments
 (0)