-
Notifications
You must be signed in to change notification settings - Fork 25
/
build.sbt
51 lines (40 loc) · 1.47 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
name := "frdomain-extras"
// global settings for this build
ThisBuild / version := "0.0.1"
ThisBuild / organization := "frdomain"
ThisBuild / scalaVersion := Versions.scalaVersion
ThisBuild / evictionErrorLevel := Level.Warn
lazy val catsio = (project in file("./cats-io"))
.settings(Common.settings: _*)
.settings(libraryDependencies ++= Dependencies.catsIODependencies)
.settings (
run / fork := true,
Compile / mainClass := Some("frdomain.ch6.domain.app.App"),
addCommandAlias("catsio", "catsio/run")
)
lazy val tagless = (project in file("./tagless"))
.settings(Common.settings: _*)
.settings(libraryDependencies ++= Dependencies.taglessDependencies)
.settings (
run / fork := true,
Compile / mainClass := Some("frdomain.ch6.domain.monixtask.app.App"),
addCommandAlias("tagless", "tagless/run")
)
lazy val mtl = (project in file("./mtl"))
.settings(Common.settings: _*)
.settings(libraryDependencies ++= Dependencies.catsMtlDependencies)
.settings(scalacOptions += "-Ymacro-annotations")
.settings (
run / fork := true,
Compile / mainClass := Some("frdomain.ch6.domain.io.app.Main"),
addCommandAlias("mtl", "mtl/run")
)
lazy val ziox = (project in file("./ziox"))
.settings(Common.settings: _*)
.settings(libraryDependencies ++= Dependencies.zioDependencies)
.settings (
run / fork := true,
addCommandAlias("ziox", "ziox/run")
)
lazy val root = (project in file(".")).
aggregate(catsio, tagless, mtl, ziox)