-
Notifications
You must be signed in to change notification settings - Fork 5
/
build.sbt
33 lines (25 loc) · 1.15 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
name := "api-first-hand-activator"
version := "0.1.18"
lazy val root = (project in file(".")).enablePlugins(PlayScala, ApiFirstCore, ApiFirstPlayScalaCodeGenerator, ApiFirstSwaggerParser)
scalaVersion := "2.11.7"
libraryDependencies ++= Seq(
jdbc,
cache,
ws,
specs2 % Test,
"org.scalacheck" %% "scalacheck" % "1.12.4" % Test,
"org.specs2" %% "specs2-scalacheck" % "3.6" % Test,
"me.jeffmay" %% "play-json-tests" % "1.3.0" % Test,
"org.scalatestplus.play" %% "scalatestplus-play" % "1.5.1" % Test
)
resolvers ++= Seq(
"zalando-bintray" at "https://dl.bintray.com/zalando/maven",
"scalaz-bintray" at "http://dl.bintray.com/scalaz/releases",
"jeffmay" at "https://dl.bintray.com/jeffmay/maven",
Resolver.url("sbt-plugins", url("http://dl.bintray.com/zalando/sbt-plugins"))(Resolver.ivyStylePatterns)
)
// Play provides two styles of routers, one expects its actions to be injected, the
// other, legacy style, accesses its actions statically.
routesGenerator := InjectedRoutesGenerator
apiFirstParsers := Seq(ApiFirstSwaggerParser.swaggerSpec2Ast.value).flatten
playScalaAutogenerateTests := true