-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.sbt
69 lines (53 loc) · 2.61 KB
/
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
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
62
63
64
65
66
67
68
69
name := "stats"
version := "1.0"
scalaVersion := "2.11.8"
ivyScala := ivyScala.value map { _.copy(overrideScalaVersion = true) }
scalacOptions ++= Seq("-unchecked", "-deprecation", "-encoding", "utf8", "-feature")
libraryDependencies ++= {
val akkaV = "2.4.2"
val sprayV = "1.3.3"
val json4sV = "3.3.0"
val reactiveMongoV = "0.11.14"
val scalaTestV = "2.2.6"
val sprayJsonV = "1.3.2"
val nscalaTimeV = "2.10.0"
val logbackV = "1.1.7"
val slf4jV = "1.7.21"
Seq(
"org.reactivemongo" %% "reactivemongo" % reactiveMongoV,
"io.spray" %% "spray-can" % sprayV,
"io.spray" %% "spray-routing" % sprayV,
"io.spray" %% "spray-http" % sprayV,
"io.spray" %% "spray-util" % sprayV,
"io.spray" %% "spray-httpx" % sprayV,
"io.spray" %% "spray-json" % sprayJsonV,
"io.spray" %% "spray-client" % sprayV,
"io.spray" %% "spray-testkit" % sprayV % "test",
"com.typesafe.akka" %% "akka-actor" % akkaV,
"com.typesafe.akka" %% "akka-testkit" % akkaV % "test",
"org.scalatest" %% "scalatest" % scalaTestV % "test",
"com.github.nscala-time" %% "nscala-time" % nscalaTimeV,
"org.json4s" %% "json4s-native" % json4sV,
"org.json4s" %% "json4s-jackson" % json4sV,
"org.json4s" %% "json4s-ext" % json4sV,
"org.slf4j" % "slf4j-api" % slf4jV,
"ch.qos.logback" % "logback-core" % logbackV,
"ch.qos.logback" % "logback-classic" % logbackV,
"net.logstash.logback" % "logstash-logback-encoder" % "4.7",
"com.typesafe.akka" %% "akka-slf4j" % akkaV
)
}
Defaults.itSettings
resolvers ++= Seq("spray" at "http://repo.spray.io/")
resolvers ++= Seq("snapshots", "releases").map(Resolver.sonatypeRepo)
resolvers ++= Seq("Sonatype Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots/")
resolvers ++= Seq("Typesafe repository releases" at "http://repo.typesafe.com/typesafe/releases/")
resolvers ++= Seq("slf4j on Maven" at "https://mvnrepository.com/artifact/org.slf4j/slf4j-api")
resolvers ++= Seq("logback-core on Maven" at "https://mvnrepository.com/artifact/ch.qos.logback/logback-core")
resolvers ++= Seq("logback-classic on Maven" at "https://mvnrepository.com/artifact/ch.qos.logback/logback-classic")
resolvers ++= Seq("Logback logstash interface" at "https://mvnrepository.com/artifact/net.logstash.logback/logstash-logback-encoder")
assemblyJarName in assembly := "stats.jar"
coverageHighlighting := false
parallelExecution in Test := false
Revolver.settings
test in assembly := {}