forked from guardian/capi-wpt-querybot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
51 lines (44 loc) · 1.63 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
name := "capi-wpi-querybot"
version := "1.0"
scalaVersion := "2.11.7"
//javacOptions ++= Seq("-source", "1.8", "-target", "1.8", "-Xlint")
libraryDependencies ++= Seq(
// Dependencies needed to build as an AWS Lambda file
"com.amazonaws" % "aws-lambda-java-core" % "1.0.0",
"com.amazonaws" % "aws-lambda-java-events" % "1.0.0",
"com.gu" %% "content-api-client" % "7.3",
// Test dependencies
"org.specs2" %% "specs2" % "2.3.12" % "test",
//ok http dependencies
"com.squareup.okhttp" % "okhttp" % "2.5.0",
//play json dependencies
"com.typesafe.play" % "play-json_2.11" % "2.4.0-M2",
//play ws dependencies
"com.typesafe.play" % "play-ws_2.11" % "2.4.5",
//Taig communicator - wraps OkHttp fro Scala
"io.taig" %% "communicator" % "2.2.2",
//scalax.io
"org.scalaforge" % "scalax" % "0.1",
//aws S3 stuff
"com.amazonaws" % "aws-java-sdk-s3" % "1.10.44",
// typesafe config
"com.typesafe" % "config" % "1.3.0",
// sbt command tool dependency
"org.scala-sbt" % "command" % "0.13.5",
//scalactic dependencies
"org.scalactic" %% "scalactic" % "2.2.6",
"org.scalatest" %% "scalatest" % "2.2.6" % "test",
// gmail api dependencies
"com.google.apis" % "google-api-services-gmail" % "v1-rev37-1.21.0",
// javax
"javax.mail" % "mail" % "1.5.0-b01",
"io.argonaut" %% "argonaut" % "6.1"
// courier (email library) dependencies
//"me.lessis" %% "courier" % "0.1.3",
//mock java mail - for testing emails
//"org.jvnet.mock-javamail" % "mock-javamail" % "1.9" % "test"
)
assemblyMergeStrategy in assembly := {
case PathList("META-INF", xs @ _*) => MergeStrategy.discard
case x => MergeStrategy.first
}