This repository was archived by the owner on Oct 28, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathbuild.sbt
More file actions
61 lines (49 loc) · 2.33 KB
/
Copy pathbuild.sbt
File metadata and controls
61 lines (49 loc) · 2.33 KB
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
organization := "no.java.ems"
name := "ems"
scalaVersion := "2.11.8"
crossScalaVersions := Seq("2.11.8")
scalacOptions := Seq("-deprecation", "-feature")
val unfilteredVersion = "0.8.4"
val joda = Seq(
"joda-time" % "joda-time" % "2.7",
"org.joda" % "joda-convert" % "1.2"
)
val unfiltered = Seq(
"net.databinder" %% "unfiltered-filter-async" % unfilteredVersion,
"net.databinder" %% "unfiltered-directives" % unfilteredVersion,
"net.databinder" %% "unfiltered-jetty" % unfilteredVersion,
"no.shiplog" %% "directives2" % "0.9.2",
"com.jteigen" %% "linx" % "0.2"
)
val sql = Seq(
"org.flywaydb" % "flyway-core" % "3.2.1",
"org.postgresql" % "postgresql" % "9.4.1208.jre7",
"com.typesafe.slick" %% "slick" % "3.1.0",
"com.zaxxer" % "HikariCP" % "2.4.1",
"com.github.tototoshi" %% "slick-joda-mapper" % "2.1.0"
)
libraryDependencies ++= joda ++ unfiltered ++ sql ++ Seq(
"org.constretto" %% "constretto-scala" % "1.1",
"net.hamnaberg.rest" %% "scala-json-collection" % "2.3",
"com.andersen-gott" %% "scravatar" % "1.0.3",
"com.sksamuel.scrimage" %% "scrimage-core" % "1.4.2",
"org.jsoup" % "jsoup" % "1.8.2",
"commons-io" % "commons-io" % "2.3",
"org.specs2" %% "specs2-core" % "3.6.2" % "test",
"de.svenkubiak" % "jBCrypt" % "0.4",
"org.scalaz.stream" %% "scalaz-stream" % "0.7.2a",
"io.argonaut" %% "argonaut" % "6.1",
"no.arktekk" %% "uri-template" % "1.0.2",
"org.slf4j" % "slf4j-api" % "1.7.7",
"org.slf4j" % "slf4j-simple" % "1.7.7",
"com.typesafe.scala-logging" %% "scala-logging" % "3.1.0"
)
enablePlugins(BuildInfoPlugin)
buildInfoPackage := "ems"
buildInfoKeys := Seq[BuildInfoKey](
scalaVersion,
BuildInfoKey.action("version") { (version in ThisBuild ).value },
BuildInfoKey.action("buildTime") { System.currentTimeMillis },
BuildInfoKey.action("branch"){ Git.branch },
BuildInfoKey.action("sha"){ Git.sha }
)