Skip to content

Commit

Permalink
Fix zio dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
kciesielski committed Nov 7, 2023
1 parent cee01ca commit 0da465b
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -1452,16 +1452,19 @@ lazy val nettyServerCats: ProjectMatrix = nettyServerProject("cats", catsEffect)
)

lazy val nettyServerZio: ProjectMatrix = nettyServerProject("zio", zio)
.settings(libraryDependencies += "dev.zio" %% "zio-interop-cats" % Versions.zioInteropCats)
.settings(
libraryDependencies ++= Seq(
"dev.zio" %% "zio-interop-cats" % Versions.zioInteropCats,
"dev.zio" %% "zio-interop-reactivestreams" % Versions.zioInteropReactiveStreams
)
)

def nettyServerProject(proj: String, dependency: ProjectMatrix): ProjectMatrix =
ProjectMatrix(s"nettyServer${proj.capitalize}", file(s"server/netty-server/$proj"))
.settings(commonJvmSettings)
.settings(
name := s"tapir-netty-server-$proj",
libraryDependencies ++= loggerDependencies ++ Seq(
"dev.zio" %% "zio-interop-reactivestreams" % Versions.zioInteropReactiveStreams
),
libraryDependencies ++= loggerDependencies,
// needed because of https://github.com/coursier/coursier/issues/2016
useCoursier := false
)
Expand Down

0 comments on commit 0da465b

Please sign in to comment.