-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
42 lines (30 loc) · 1.41 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
name := "sprocrest"
scalaVersion := "2.11.4"
scalacOptions ++= Seq("-feature", "-deprecation")
parallelExecution in Test := true
resolvers += Resolver.url("Edulify Repository", url("http://edulify.github.io/modules/releases/"))(Resolver.ivyStylePatterns)
resolvers += "Local Maven" at Path.userHome.asFile.toURI.toURL + ".m2/repository"
libraryDependencies ++= Seq(
jdbc,
"com.typesafe.akka" %% "akka-actor" % "2.3.8",
"com.jsuereth" % "scala-arm_2.11" % "1.4",
"de.zalando" % "zalando-sprocwrapper" % "1.2.3" excludeAll(
ExclusionRule(organization = "org.springframework"),
ExclusionRule(organization = "com.jolbox"),
ExclusionRule(organization = "org.postgresql"),
ExclusionRule(organization = "org.hiberate"),
ExclusionRule(organization = "org.slf4j", name = "slf4j-log4j12")),
"com.typesafe.slick" %% "slick" % "2.1.0",
"com.typesafe.play" %% "play-slick" % "0.8.0",
"org.postgresql" % "postgresql" % "9.3-1102-jdbc4",
"com.edulify" %% "play-hikaricp" % "1.4.1",
"com.gilt" %% "play-json-service-lib-2-3" % "1.0.0",
"org.specs2" %% "specs2" % "2.3.11" % "test"
)
lazy val root = (project in file(".")).enablePlugins(PlayScala)
TwirlKeys.templateFormats += ("json" -> "com.gilt.play.json.templates.JsonFormat")
// scoverage
import scoverage.ScoverageSbtPlugin.ScoverageKeys._
coverageExcludedPackages := "<empty>;Reverse.*;views.json..*"
coverageMinimum := 75
coverageFailOnMinimum := true