-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
44 lines (33 loc) · 1.64 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
name := """poke-api"""
organization := "com.clever-cloud"
version := "1.1-SNAPSHOT"
lazy val root = (project in file(".")).enablePlugins(PlayScala)
scalaVersion := "2.12.6"
libraryDependencies += guice
libraryDependencies += "org.scalatestplus.play" %% "scalatestplus-play" % "3.1.2" % Test
// https://github.com/phxql/argon2-jvm
libraryDependencies ++= Seq(
"com.typesafe.play" %% "anorm" % "2.5.3",
"org.postgresql" % "postgresql" % "42.1.4",
"io.warp10" % "token" % "1.2.11",
"com.github.nitram509" % "jmacaroons" % "0.3.1",
"de.mkammerer" % "argon2-jvm" % "2.3",
"net.cakesolutions" %% "scala-kafka-client-akka" % "1.0.0",
"name.delafargue" %% "anormpgentity" % "0.1.0",
"com.loopfor.zookeeper" %% "zookeeper-client" % "1.4",
"io.kamon" %% "kamon-prometheus" % "1.1.1"
)
javaOptions += "-Djava.security.auth.login.config=conf/kafkacreds.jaas"
javaOptions in Universal += "-Djava.security.auth.login.config=" + sys.env.get("JAAS_PATH").getOrElse("conf/kafkacreds.jaas")
libraryDependencies += jdbc
libraryDependencies += evolutions
// Adds additional packages into Twirl
// TwirlKeys.templateImports += "com.clever-cloud.controllers._"
// Adds additional packages into conf/routes
play.sbt.routes.RoutesKeys.routesImport += "models.entities.Service._"
play.sbt.routes.RoutesKeys.routesImport += "models.entities.User._"
play.sbt.routes.RoutesKeys.routesImport += "models.entities.Hook._"
resolvers += "cityzendata-bintray" at "http://dl.bintray.com/cityzendata/maven"
resolvers += "hbs-bintray" at "http://dl.bintray.com/hbs/maven"
resolvers += Resolver.bintrayRepo("cakesolutions", "maven")
resolvers += Resolver.bintrayRepo("clevercloud", "maven")