-
Notifications
You must be signed in to change notification settings - Fork 6
/
build.sbt
100 lines (88 loc) · 2.6 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
88
89
90
91
92
93
94
95
96
97
98
99
100
Global / onChangedBuildSource := ReloadOnSourceChanges
val zioVersion = "2.0.15"
val sharedSettings =
Seq(
scalaVersion := "3.3.0"
)
lazy val root = (project in file("."))
.settings(
name := "zymposium"
)
lazy val zioFromScratch = (project in file("sessions/zio-from-scratch"))
.settings(
name := "zio-from-scratch",
libraryDependencies ++= Seq()
)
.settings(sharedSettings: _*)
lazy val shardCakeDemo = (project in file("sessions/shardcake-demo"))
.settings(
name := "shardcake-demo",
libraryDependencies ++= Seq(
"dev.zio" %% "zio" % "2.0.3",
"com.devsisters" %% "shardcake-manager" % "2.0.4",
"com.devsisters" %% "shardcake-protocol-grpc" % "2.0.4"
)
)
.settings(sharedSettings: _*)
lazy val zioDirectDemo = (project in file("sessions/zio-direct-demo"))
.settings(
name := "zio-direct-demo",
libraryDependencies ++= Seq(
"dev.zio" %% "zio" % "2.0.5",
"dev.zio" %% "zio-direct" % "1.0.0-RC1"
)
)
.settings(sharedSettings: _*)
lazy val webCrawler = (project in file("sessions/web-crawler"))
.settings(
name := "zio-direct-demo",
libraryDependencies ++= Seq(
"dev.zio" %% "zio" % zioVersion,
)
)
.settings(sharedSettings: _*)
lazy val zioOpenAIDemo = (project in file("sessions/zio-openai-demo"))
.settings(
name := "zio-direct-demo",
libraryDependencies ++= Seq(
"dev.zio" %% "zio" % zioVersion,
"dev.zio" %% "zio-openai" % "0.1.0",
)
)
.settings(sharedSettings: _*)
lazy val propertyBasedTesting = (project in file("sessions/property-based-testing"))
.settings(
name := "property-based-testing",
libraryDependencies ++= Seq(
"dev.zio" %% "zio" % zioVersion,
"dev.zio" %% "zio-streams" % zioVersion,
)
)
.settings(sharedSettings: _*)
lazy val fiberRefs = (project in file("sessions/fiber-refs"))
.settings(
name := "fiber-refs",
libraryDependencies ++= Seq(
"dev.zio" %% "zio" % zioVersion,
"dev.zio" %% "zio-streams" % zioVersion,
)
)
.settings(sharedSettings: _*)
lazy val reloadableServices = (project in file("sessions/reloadable-services"))
.settings(
name := "reloadable-services",
libraryDependencies ++= Seq(
"dev.zio" %% "zio" % zioVersion,
"dev.zio" %% "zio-macros" % zioVersion,
)
)
.settings(sharedSettings: _*)
lazy val actors = (project in file("sessions/actors"))
.settings(
name := "actors",
libraryDependencies ++= Seq(
"dev.zio" %% "zio" % zioVersion,
"dev.zio" %% "zio-http" % "3.0.0-RC3"
)
)
.settings(sharedSettings: _*)