-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.sbt
75 lines (60 loc) · 2.64 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
70
71
72
73
74
75
import com.typesafe.sbt.SbtStartScript
import spray.revolver.RevolverPlugin.Revolver
organization := "simplyoverkill"
name := "blrest"
version := "0.1.0"
scalaVersion := "2.10.3"
publishTo := None
seq(Revolver.settings: _*)
seq(SbtStartScript.startScriptForClassesSettings: _*)
unmanagedResourceDirectories in Compile <+=
(baseDirectory) { _ / "src" / "main" / "webapp" }
ivyXML :=
<dependencies>
<exclude org="org.slf4j" module="slf4j-simple"/>
<exclude org="commons-logging" module="commons-logging"/>
<exclude org="org.slf4j" module="slf4j-jcl"/>
</dependencies>
ivyScala ~= { _.map(_.copy(checkExplicit = false)) }
libraryDependencies ++= Seq(
//LOGGING
"org.slf4j" % "jcl-over-slf4j" % "1.7.2",
"org.slf4j" % "slf4j-api" % "1.7.2",
"com.typesafe" %% "scalalogging-slf4j" % "1.0.1",
"ch.qos.logback" % "logback-classic" % "0.9.28" % "runtime",
"ch.qos.logback" % "logback-core" % "0.9.28" % "runtime",
//SPRAY
"io.spray" % "spray-routing" % "1.2.0" % "compile" withSources(),
"io.spray" % "spray-http" % "1.2.0" % "compile" withSources(),
"io.spray" % "spray-can" % "1.2.0" % "compile" withSources(),
"io.spray" % "spray-io" % "1.2.0" % "compile" withSources(),
"io.spray" % "spray-caching" % "1.2.0" % "compile" withSources(),
"io.spray" % "spray-client" % "1.2.0" % "compile" withSources(),
"io.spray" % "spray-testkit" % "1.2.0" % "compile" withSources(),
//AKKA
"com.typesafe.akka" %% "akka-actor" % "2.2.3",
"com.typesafe.akka" %% "akka-slf4j" % "2.2.3",
//Jackson
"org.json4s" %% "json4s-jackson" % "3.2.6",
//TESTING
"org.specs2" %% "specs2" % "2.3.6" % "test" exclude("com.chuusai", "shapeless_2.10.3"),
"org.scalamock" %% "scalamock-specs2-support" % "3.0.1" % "test",
//ReactiveMongo
"org.reactivemongo" %% "reactivemongo" % "0.10.0" % "compile",
"nl.grons" %% "metrics-scala" % "3.0.4",
"com.codahale.metrics" % "metrics-graphite" % "3.0.1",
"eu.fakod" %% "neo4j-scala" % "0.3.0" % "compile"
)
resolvers ++= Seq(
"Typesafe Repository" at "http://repo.typesafe.com/typesafe/releases/",
"Sonatype OSS" at "http://oss.sonatype.org/content/repositories/releases/",
"Sonatype OSS Snapshots" at "http://oss.sonatype.org/content/repositories/snapshots/",
"Spray repo" at "http://repo.spray.cc",
"Bintray" at "http://jcenter.bintray.com",
"Neo4J" at "http://m2.neo4j.org/content/repositories/releases",
"Local Maven Repository" at "file://" + Path.userHome + "/.m2/repository"
)
scalacOptions in Test ++= Seq("-Yrangepos")
testOptions in Test += Tests.Setup( loader => {
System.setProperty("config.resource", "test.conf")
} )