This repository was archived by the owner on Jul 16, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbuild.sbt
More file actions
76 lines (67 loc) · 2.53 KB
/
build.sbt
File metadata and controls
76 lines (67 loc) · 2.53 KB
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
val V = new {
val distage = "0.10.15"
val logstage = distage
val scalatest = "3.1.2"
val scalacheck = "1.14.3"
val http4s = "0.21.4"
val doobie = "0.9.0"
val zio = "1.0.0-RC20"
val zioCats = "2.0.0.0-RC14"
val kindProjector = "0.11.0"
val circeDerivation = "0.13.0-M4"
}
val Deps = new {
val scalatest = "org.scalatest" %% "scalatest" % V.scalatest
val scalacheck = "org.scalacheck" %% "scalacheck" % V.scalacheck
val distageCore = "io.7mind.izumi" %% "distage-core" % V.distage
val distageConfig = "io.7mind.izumi" %% "distage-extension-config" % V.distage
val distageRoles = "io.7mind.izumi" %% "distage-framework" % V.distage
val distageDocker = "io.7mind.izumi" %% "distage-framework-docker" % V.distage
val distageTestkit = "io.7mind.izumi" %% "distage-testkit-scalatest" % V.distage
val logstageSlf4j = "io.7mind.izumi" %% "logstage-adapter-slf4j" % V.logstage
val http4sDsl = "org.http4s" %% "http4s-dsl" % V.http4s
val http4sServer = "org.http4s" %% "http4s-blaze-server" % V.http4s
val http4sClient = "org.http4s" %% "http4s-blaze-client" % V.http4s
val http4sCirce = "org.http4s" %% "http4s-circe" % V.http4s
val circeDerivation = "io.circe" %% "circe-derivation" % V.circeDerivation
val doobie = "org.tpolecat" %% "doobie-core" % V.doobie
val doobiePostgres = "org.tpolecat" %% "doobie-postgres" % V.doobie
val doobieHikari = "org.tpolecat" %% "doobie-hikari" % V.doobie
val kindProjector = "org.typelevel" % "kind-projector" % V.kindProjector cross CrossVersion.full
val zio = "dev.zio" %% "zio" % V.zio
val zioCats = "dev.zio" %% "zio-interop-cats" % V.zioCats
}
inThisBuild(
Seq(
scalaVersion := "2.13.2",
version := "1.0.0-SNAPSHOT",
organization := "io.7mind",
)
)
lazy val livecode = project
.in(file("."))
.settings(
name := "livecode",
scalacOptions --= Seq("-Werror", "-Xfatal-warnings"),
libraryDependencies ++= Seq(
Deps.distageCore,
Deps.distageRoles,
Deps.distageConfig,
Deps.logstageSlf4j,
Deps.distageDocker % Test,
Deps.distageTestkit % Test,
Deps.scalatest % Test,
Deps.scalacheck % Test,
Deps.http4sDsl,
Deps.http4sServer,
Deps.http4sClient % Test,
Deps.http4sCirce,
Deps.circeDerivation,
Deps.doobie,
Deps.doobiePostgres,
Deps.doobieHikari,
Deps.zio,
Deps.zioCats,
),
addCompilerPlugin(Deps.kindProjector),
)