-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
34 lines (27 loc) · 920 Bytes
/
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
import sbt.Keys._
import Dependencies._
ThisBuild / version := "0.1.0-SNAPSHOT"
ThisBuild / scalaVersion := "2.13.14"
val classpathDependencies: String = "compile->compile;test->test;"
lazy val common = (project in file("modules/common"))
.settings(
name := "common",
libraryDependencies ++= cats ++ testDependencies ++ circe ++ logging,
)
lazy val catsEffectServer = (project in file("modules/cats-effect-server"))
.settings(
name := "cats-effect-server",
libraryDependencies ++= catsEffect ++ http4s,
)
.dependsOn(common % classpathDependencies)
lazy val pekkoServer = (project in file("modules/pekko-server"))
.settings(
name := "pekko-server",
libraryDependencies ++= pekko,
)
.dependsOn(common % classpathDependencies)
lazy val root = (project in file("."))
.settings(
name := "scala-interview-endpoints",
)
.aggregate(common, catsEffectServer, pekkoServer)