-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
42 lines (30 loc) · 1.38 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
name := "sangria-akka-http-example"
version := "0.1.0-SNAPSHOT"
description := "An example GraphQL server written with akka-http, circe and sangria."
ThisBuild / crossScalaVersions := Seq("2.13.12")
ThisBuild / scalaVersion := crossScalaVersions.value.last
ThisBuild / githubWorkflowPublishTargetBranches := List()
scalacOptions ++= Seq("-deprecation", "-feature", "-Xsource:3")
val akkaVersion = "2.6.20"
val circeVersion = "0.14.6"
val circeOpticsVersion = "0.15.0"
val sangriaAkkaHttpVersion = "0.0.4"
libraryDependencies ++= Seq(
"org.sangria-graphql" %% "sangria" % "4.0.2",
"org.sangria-graphql" %% "sangria-slowlog" % "3.0.0",
"org.sangria-graphql" %% "sangria-circe" % "1.3.2",
"org.sangria-graphql" %% "sangria-akka-http-core" % sangriaAkkaHttpVersion,
"org.sangria-graphql" %% "sangria-akka-http-circe" % sangriaAkkaHttpVersion,
"com.typesafe.akka" %% "akka-http" % "10.2.10",
"com.typesafe.akka" %% "akka-actor" % akkaVersion,
"com.typesafe.akka" %% "akka-stream" % akkaVersion,
"de.heikoseeberger" %% "akka-http-circe" % "1.39.2",
"io.circe" %% "circe-core" % circeVersion,
"io.circe" %% "circe-parser" % circeVersion,
"io.circe" %% "circe-optics" % circeOpticsVersion,
"org.scalatest" %% "scalatest" % "3.2.17" % Test,
"ch.qos.logback" % "logback-classic" % "1.4.14",
"org.slf4j" % "slf4j-api" % "2.0.9"
)
Revolver.settings
enablePlugins(JavaAppPackaging)