-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathbuild.sbt
60 lines (42 loc) · 1.8 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
name := "finch-template"
version := "0.0.1-SNAPSHOT"
scalaVersion := "2.11.8"
libraryDependencies ++= Seq(
"com.github.finagle" %% "finch-core" % "0.11.0-SNAPSHOT" changing(),
"com.github.finagle" %% "finch-circe" % "0.11.0-SNAPSHOT" changing(),
"com.twitter" %% "twitter-server" % "1.20.0",
"com.netaporter" %% "scala-uri" % "0.4.14",
// Note. We use the latest 0.5.0 version of Circe as it pulls in the Cats 0.6.0 which Mouse depends on.
"io.circe" %% "circe-generic" % "0.5.0-SNAPSHOT" changing(),
//"io.circe" %% "circe-core" % "0.4.1",
//"io.circe" %% "circe-generic" % "0.4.1",
//"io.circe" %% "circe-parser" % "0.4.1",
// Utilities
"joda-time" % "joda-time" % "2.9.3",
"org.joda" % "joda-convert" % "1.8",
"com.github.benhutchison" %% "mouse" % "0.2",
// Logging
"ch.qos.logback" % "logback-core" % "1.1.7",
"ch.qos.logback" % "logback-classic" % "1.1.7",
"org.slf4j" % "slf4j-api" % "1.7.21",
// Monitoring
"com.rollbar" % "rollbar" % "0.5.2",
// Testing
"org.specs2" %% "specs2-core" % "3.8.3" % "test",
"org.specs2" %% "specs2-mock" % "3.8.3" % "test",
"org.specs2" %% "specs2-scalacheck" % "3.8.3" % "test",
"org.specs2" %% "specs2-cats" % "3.8.3" % "test",
"org.hamcrest" % "hamcrest-core" % "1.3" % "test",
"org.mockito" % "mockito-all" % "1.10.19" % "test"
// "org.scalacheck" %% "scalacheck" % "1.13.1" % "test"
)
resolvers += "Twitter" at "http://maven.twttr.com"
resolvers += Resolver.sonatypeRepo("snapshots")
scalacOptions ++= Seq("-Xlint", "-unchecked", "-deprecation")
scalacOptions in Test ++= Seq("-Yrangepos")
//fork in test := true
//parallelExecution in Test := false
testOptions in Test += Tests.Setup(() => System.setProperty("ENV", "test"))
//javaOptions in Test := Seq("-DENV=test")
seq(Revolver.settings: _*)
enablePlugins(JavaAppPackaging)