This repository has been archived by the owner on Aug 5, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.sbt
73 lines (61 loc) · 2.77 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 rocks.muki.graphql.schema.SchemaLoader
import sbt.File
import sbt.Keys.scalaVersion
name := """transfer-digital-records"""
organization := "com.example"
version := "1.0.1-SNAPSHOT"
lazy val root = (project in file(".")).enablePlugins(PlayScala,GraphQLCodegenPlugin)
graphqlSchemas += GraphQLSchema(
"tdr",
"tdr schema",
Def.task(
SchemaLoader.fromFile(new File("conf/schema.graphql")).loadSchema()
).taskValue
)
graphqlCodegenStyle := Apollo
graphqlCodegenJson := JsonCodec.Circe
graphqlCodegenSchema := graphqlRenderSchema.toTask("tdr").value
graphqlCodegenImports ++= List("java.time._","java.util.UUID" )
scalaVersion := "2.12.8"
crossScalaVersions := Seq("2.12.8", "2.11.12")
resolvers += "Atlassian Releases" at "https://maven.atlassian.com/public/"
resolvers += Resolver.bintrayRepo("jarlakxen", "maven")
resolvers += Resolver.jcenterRepo
libraryDependencies ++= Seq(
"com.typesafe.akka" %% "akka-actor" % "2.5.26",
"io.circe" %% "circe-core" % "0.9.3",
"io.circe" %% "circe-generic" % "0.9.3",
"io.circe" %% "circe-parser" % "0.9.3",
"org.sangria-graphql" %% "sangria" % "1.4.2",
)
libraryDependencies ++= Seq(
"com.mohiva" %% "play-silhouette" % "6.1.0",
"com.mohiva" %% "play-silhouette-password-bcrypt" % "6.1.0",
"com.mohiva" %% "play-silhouette-persistence" % "6.1.0",
"com.mohiva" %% "play-silhouette-crypto-jca" % "6.1.0",
"com.mohiva" %% "play-silhouette-testkit" % "6.1.0" % "test"
)
libraryDependencies ++= Seq(
"com.typesafe.play" %% "play-slick" % "4.0.2",
"com.typesafe.play" %% "play-slick-evolutions" % "4.0.2"
)
libraryDependencies += "com.typesafe.slick" %% "slick" % "3.3.0"
libraryDependencies += "com.typesafe.slick" %% "slick-hikaricp" % "3.3.0"
libraryDependencies += "org.postgresql" % "postgresql" % "42.2.5"
libraryDependencies += guice
libraryDependencies += "com.iheart" %% "ficus" % "1.4.3"
libraryDependencies += "net.codingwell" %% "scala-guice" % "4.1.0"
libraryDependencies += "software.amazon.awssdk" % "aws-sdk-java" % "2.7.11"
libraryDependencies += "com.amazonaws" % "aws-java-sdk-s3" % "1.11.633"
libraryDependencies += "com.amazonaws" % "aws-java-sdk-sts" % "1.11.636"
libraryDependencies += "com.amazonaws" % "aws-java-sdk-ses" % "1.11.641"
libraryDependencies += "com.mohiva" %% "play-silhouette-totp" % "6.1.0"
libraryDependencies += "com.amazonaws" % "aws-java-sdk-iam" % "1.9.21"
libraryDependencies += "ca.ryangreen" % "apigateway-generic-java-sdk" % "1.3"
libraryDependencies += "com.github.jarlakxen" %% "drunk" % "2.5.0"
libraryDependencies += "com.github.t3hnar" %% "scala-bcrypt" % "4.1"
libraryDependencies += "com.sendgrid" % "sendgrid-java" % "4.0.1"
libraryDependencies ++= Seq(
"org.scalatestplus.play" %% "scalatestplus-play" % "4.0.2" % "test"
)
javaOptions in Test += "-Dconfig.file=conf/application.test.conf"