forked from cvrebert/lmvtfy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
55 lines (40 loc) · 1.66 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
name := "lmvtfy"
version := "1.0"
scalaVersion := "2.11.8"
mainClass := Some("com.chrisrebert.lmvtfy.server.Boot")
resolvers ++= Seq("snapshots", "releases").map(Resolver.sonatypeRepo)
val jcabiV = "0.24"
libraryDependencies += "nu.validator" % "validator" % "16.6.20" excludeAll(
ExclusionRule(organization = "org.eclipse.jetty"),
ExclusionRule(organization = "javax.servlet"),
ExclusionRule(organization = "commons-fileupload"),
ExclusionRule(organization = "commons-httpclient")
)
libraryDependencies += "com.jcabi" % "jcabi-github" % jcabiV
libraryDependencies += "com.twitter" % "twitter-text" % "1.12.1"
libraryDependencies += "ch.qos.logback" % "logback-classic" % "1.1.2"
libraryDependencies ++= {
val akkaV = "2.3.9"
val sprayV = "1.3.3"
Seq(
"io.spray" %% "spray-can" % sprayV,
"io.spray" %% "spray-routing" % sprayV,
"io.spray" %% "spray-testkit" % sprayV % "test",
"io.spray" %% "spray-json" % "1.3.1",
"com.typesafe.akka" %% "akka-actor" % akkaV,
"com.typesafe.akka" %% "akka-slf4j" % akkaV,
"com.typesafe.akka" %% "akka-testkit" % akkaV % "test",
"org.specs2" %% "specs2-core" % "3.8.4" % "test"
)
}
packageOptions in (Compile, packageBin) ++= {
Seq(
Package.ManifestAttributes("JCabi-Version" -> jcabiV),
Package.ManifestAttributes("JCabi-Build" -> "abcdef"),
Package.ManifestAttributes("JCabi-Date" -> "2015-08-01")
)
}
scalacOptions := Seq("-unchecked", "-deprecation", "-feature", "–Xlint", "-encoding", "utf8")
scalacOptions in Test ++= Seq("-Yrangepos")
// parallelExecution in Test := false
Revolver.settings