-
Notifications
You must be signed in to change notification settings - Fork 25
/
build.sbt
73 lines (57 loc) · 2.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
65
66
67
68
69
70
71
72
73
import sbtassembly.Plugin._
import com.typesafe.sbt.SbtStartScript
import AssemblyKeys._
import spray.revolver.RevolverPlugin.Revolver
organization := "com.flipcast"
name := "flipcast"
version := "2.2"
scalaVersion := "2.11.2"
javacOptions ++= Seq("-source", "1.8", "-target", "1.8", "-Xlint")
scalacOptions := Seq(
"-encoding", "UTF-8",
"-feature",
"-unchecked",
"-deprecation",
"-language:postfixOps",
"-language:implicitConversions",
"-Xlog-reflective-calls",
"-Ywarn-adapted-args",
"-language:existentials"
)
resolvers ++= Seq(
"spray repo" at "http://repo.spray.io/",
"sonatype snapshots" at "https://oss.sonatype.org/content/repositories/snapshots/"
)
libraryDependencies ++= Seq(
"io.spray" %% "spray-can" % "1.3.2",
"io.spray" %% "spray-routing" % "1.3.2",
"io.spray" %% "spray-testkit" % "1.3.2" % "test",
"io.spray" %% "spray-client" % "1.3.2",
"io.spray" %% "spray-json" % "1.2.6",
"com.typesafe.akka" %% "akka-actor" % "2.3.6",
"com.typesafe.akka" %% "akka-cluster" % "2.3.6",
"com.typesafe.akka" %% "akka-contrib" % "2.3.6",
"com.typesafe.akka" %% "akka-slf4j" % "2.3.6",
"com.typesafe.akka" %% "akka-testkit" % "2.3.6" % "test",
"ch.qos.logback" % "logback-classic" % "1.1.2",
"com.fasterxml.uuid" % "java-uuid-generator" % "3.1.3",
"com.codahale.metrics" % "metrics-logback" % "3.0.1",
"com.codahale.metrics" % "metrics-graphite" % "3.0.1",
"com.codahale.metrics" % "metrics-jvm" % "3.0.1",
"commons-validator" % "commons-validator" % "1.4.0",
"commons-codec" % "commons-codec" % "1.5",
"com.google.guava" % "guava" % "15.0",
"com.notnoop.apns" % "apns" % "1.0.0.Beta4",
"org.mongodb" %% "casbah" % "2.8.0-RC0",
"commons-io" % "commons-io" % "2.4",
"com.google.code.findbugs" % "jsr305" % "2.0.3",
"org.specs2" %% "specs2" % "2.3.11" % "test"
)
assemblySettings
parallelExecution in Test := false
assembleArtifact in packageScala := true
test in assembly := {}
jarName in assembly := "flipcast-service.jar"
logLevel in assembly := Level.Warn
seq(Revolver.settings: _*)
seq(SbtStartScript.startScriptForJarSettings: _*)