-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
66 lines (38 loc) · 1.7 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
version := "0.1.0-SNAPSHOT"
scalaVersion :="2.13.8"
val DoobieVersion = "1.0.0-RC2"
val NewTypeVersion = "0.4.4"
//akka-actor, akka-stream, .. need the same version
val akkaVersion = "2.6.8"
//akka-http, is an extrenal like alpakka, persistance ..
// isn't constraint to have the same vesion as core module
val akkaHttpVersion = "10.2.10"
val scalaTestVersion = "3.2.13"
val circeVersion = "0.14.1"
val http4sVersion = "0.23.12"
libraryDependencies ++= Seq(
"org.tpolecat" %% "doobie-core" % DoobieVersion,
"org.tpolecat" %% "doobie-postgres" % DoobieVersion,
"org.tpolecat" %% "doobie-hikari" % DoobieVersion,
"io.estatico" %% "newtype" % NewTypeVersion,
"com.github.nscala-time" %% "nscala-time" % "2.30.0",
//actor
"com.typesafe.akka" %% "akka-actor-typed" % akkaVersion,
"com.typesafe.akka" %% "akka-stream" % akkaVersion,
"com.typesafe.akka" %% "akka-testkit" % akkaVersion,
// akka http
"com.typesafe.akka" %% "akka-http" % akkaHttpVersion,
"com.typesafe.akka" %% "akka-http-spray-json" % akkaHttpVersion,
"com.typesafe.akka" %% "akka-http-testkit" % akkaHttpVersion,
"org.scalatest" %% "scalatest" % scalaTestVersion,
"io.circe" %% "circe-core" % circeVersion,
"io.circe" %% "circe-generic" % circeVersion,
"io.circe" %% "circe-parser" % circeVersion,
"org.http4s" %% "http4s-dsl" % http4sVersion,
"org.http4s" %% "http4s-blaze-server" % http4sVersion,
"org.http4s" %% "http4s-blaze-client" % http4sVersion,
"com.github.pureconfig" %% "pureconfig" % "0.17.1"
)
//scalacOptions ++= Seq ("-Ypartial-unification" )
//versione non giusta :( (prova la versione sotto 2, cit Luca)
//addSbtPlugin("org.scoverage" % "sbt-scoverage" % "2.0.1")