forked from evolution-gaming/scala-bootcamp
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.sbt
87 lines (77 loc) · 3.3 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
name := "scala-bootcamp"
version := "0.2"
scalaVersion := "2.13.8"
// From https://tpolecat.github.io/2017/04/25/scalac-flags.html
scalacOptions ++= Seq(
"-deprecation",
"-feature",
"-Ymacro-annotations",
)
val http4sVersion = "0.23.16"
val circeVersion = "0.14.1"
val playVersion = "2.8.2"
val doobieVersion = "1.0.0-RC1"
val catsVersion = "2.9.0"
val catsTaglessVersion = "0.14.0"
val catsEffectVersion = "3.3.0"
val epimetheusVersion = "0.6.0-M2"
val akkaVersion = "2.6.9"
val akkaHttpVersion = "10.1.11"
val akkaHttpCirceVersion = "1.39.2"
val log4CatsVersion = "2.5.0"
val scalaTestVersion = "3.2.7.0"
val h2Version = "2.0.202"
val slickVersion = "3.3.3"
val munitVersion = "0.7.29"
libraryDependencies ++= Seq(
"org.typelevel" %% "cats-core" % catsVersion,
"org.typelevel" %% "cats-effect" % catsEffectVersion,
"org.http4s" %% "http4s-dsl" % http4sVersion,
"org.http4s" %% "http4s-blaze-server" % "0.23.9",
"org.http4s" %% "http4s-blaze-client" % "0.23.13",
"org.http4s" %% "http4s-circe" % http4sVersion,
"org.http4s" %% "http4s-jdk-http-client" % "0.8.0",
"com.typesafe.akka" %% "akka-http" % akkaHttpVersion,
"de.heikoseeberger" %% "akka-http-circe" % akkaHttpCirceVersion,
"com.typesafe.akka" %% "akka-stream" % akkaVersion,
"org.typelevel" %% "log4cats-slf4j" % log4CatsVersion,
"ch.qos.logback" % "logback-classic" % "1.2.3",
"org.typelevel" %% "cats-effect-testing-scalatest" % "1.5.0" % Test,
"io.chrisdavenport" %% "epimetheus-http4s" % epimetheusVersion,
"org.scalatestplus" %% "scalacheck-1-15" % scalaTestVersion % Test,
"org.scalatestplus" %% "selenium-3-141" % scalaTestVersion % Test,
"org.typelevel" %% "simulacrum" % "1.0.0",
"org.tpolecat" %% "atto-core" % "0.8.0",
"io.circe" %% "circe-core" % circeVersion,
"io.circe" %% "circe-generic" % circeVersion,
"io.circe" %% "circe-generic-extras" % circeVersion,
"io.circe" %% "circe-optics" % circeVersion,
"io.circe" %% "circe-parser" % circeVersion,
"com.typesafe.akka" %% "akka-actor" % akkaVersion,
"com.typesafe.akka" %% "akka-persistence" % akkaVersion,
"com.typesafe.akka" %% "akka-cluster" % akkaVersion,
"com.typesafe.akka" %% "akka-cluster-sharding" % akkaVersion,
"org.fusesource.leveldbjni" % "leveldbjni-all" % "1.8",
"org.scalameta" %% "munit" % munitVersion % Test,
"org.typelevel" %% "munit-cats-effect" % "2.0.0-M3" % Test,
"org.tpolecat" %% "doobie-core" % doobieVersion,
"org.tpolecat" %% "doobie-h2" % doobieVersion,
"org.tpolecat" %% "doobie-hikari" % doobieVersion,
"org.tpolecat" %% "doobie-munit" % doobieVersion % Test,
"com.typesafe.akka" %% "akka-testkit" % akkaVersion % Test,
"org.mockito" %% "mockito-scala" % "1.16.32" % Test,
"org.scalaj" %% "scalaj-http" % "2.4.2" % Test,
"org.tpolecat" %% "doobie-scalatest" % doobieVersion % Test,
"org.typelevel" %% "cats-tagless-macros" % catsTaglessVersion,
"com.h2database" % "h2" % h2Version,
"eu.timepit" %% "refined" % "0.9.17",
"com.typesafe.slick" %% "slick" % slickVersion,
"org.slf4j" % "slf4j-nop" % "1.6.4",
"com.typesafe.slick" %% "slick-hikaricp" % slickVersion,
"com.lihaoyi" %% "requests" % "0.6.5",
"dev.zio" %% "zio" % "2.0.0-M4"
)
addCompilerPlugin("org.typelevel" %% "kind-projector" % "0.13.2" cross CrossVersion.full)
run / fork := true
run / connectInput := true
run / outputStrategy := Some(StdoutOutput)