-
Notifications
You must be signed in to change notification settings - Fork 45
/
Copy pathbuild.sbt
64 lines (50 loc) · 1.96 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
import sbt._
import Keys._
import spray.revolver.RevolverPlugin.Revolver
name := "activator-akka-spray"
version := "1.0"
scalaVersion := "2.10.4"
resolvers += "spray repo" at "http://repo.spray.io"
resolvers += "spray nightlies" at "http://nightlies.spray.io"
libraryDependencies ++= {
val akkaVersion = "2.3.2"
val sprayVersion = "1.3.1"
Seq(
"com.typesafe.akka" %% "akka-actor" % akkaVersion
exclude ("org.scala-lang" , "scala-library"),
"com.typesafe.akka" %% "akka-slf4j" % akkaVersion
exclude ("org.slf4j", "slf4j-api")
exclude ("org.scala-lang" , "scala-library"),
"ch.qos.logback" % "logback-classic" % "1.0.13",
"io.spray" % "spray-can" % sprayVersion,
"io.spray" % "spray-routing" % sprayVersion,
"io.spray" %% "spray-json" % "1.2.5" exclude ("org.scala-lang" , "scala-library"),
"org.specs2" %% "specs2" % "1.14" % "test",
"io.spray" % "spray-testkit" % sprayVersion % "test",
"com.typesafe.akka" %% "akka-testkit" % akkaVersion % "test",
"com.novocode" % "junit-interface" % "0.11-RC1" % "test->default" exclude("org.hamcrest", "hamcrest-core"),
"org.scalatest" % "scalatest_2.10" % "2.0" % "test",
"org.seleniumhq.selenium.fluent" % "fluent-selenium" % "1.14.5" % "test",
"com.github.detro.ghostdriver" % "phantomjsdriver" % "1.1.0" % "test",
"com.paulhammant" % "ngwebdriver" % "0.9.1" % "test" ,
"com.codahale.metrics" % "metrics-core" % "3.0.0" % "test",
"org.hamcrest" % "hamcrest-all" % "1.3" % "test"
)
}
scalacOptions ++= Seq(
"-unchecked",
"-deprecation",
"-Xlint",
"-Ywarn-dead-code",
"-language:_",
"-target:jvm-1.7",
"-encoding", "UTF-8"
)
testOptions += Tests.Argument(TestFrameworks.JUnit, "-v")
unmanagedResourceDirectories in Compile <++= baseDirectory {
base => Seq(base / "src/main/angular")
}
Revolver.settings : Seq[sbt.Def.Setting[_]]
crossPaths := false
//conflictManager := ConflictManager.loose
net.virtualvoid.sbt.graph.Plugin.graphSettings