From 252c385ec8208a09248969a862f9cbbdb50babba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Koz=C5=82owski?= Date: Fri, 22 Oct 2021 04:59:21 +0200 Subject: [PATCH] Remove blaze dependency from http4s module (#1110) * Remove blaze dependency from http4s module * Add http4s-server * empty commit * Add blaze back for tests --- build.sbt | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/build.sbt b/build.sbt index c99e8537cd..9c5c0a47b7 100644 --- a/build.sbt +++ b/build.sbt @@ -253,14 +253,15 @@ lazy val http4s = project "dev.zio" %% "zio-interop-cats" % zioInteropCats3Version, "org.typelevel" %% "cats-effect" % catsEffect3Version, "org.http4s" %% "http4s-dsl" % http4sVersion, + "org.http4s" %% "http4s-server" % http4sVersion, "org.http4s" %% "http4s-circe" % http4sVersion, - "org.http4s" %% "http4s-blaze-server" % http4sVersion, "io.circe" %% "circe-parser" % circeVersion, - "dev.zio" %% "zio-test" % zioVersion % Test, - "dev.zio" %% "zio-test-sbt" % zioVersion % Test, - "com.softwaremill.sttp.client3" %% "async-http-client-backend-zio" % sttpVersion % Test, - "com.softwaremill.sttp.client3" %% "circe" % sttpVersion % Test, - "io.circe" %% "circe-generic" % circeVersion % Test + "org.http4s" %% "http4s-blaze-server" % http4sVersion % Test, + "dev.zio" %% "zio-test" % zioVersion % Test, + "dev.zio" %% "zio-test-sbt" % zioVersion % Test, + "com.softwaremill.sttp.client3" %% "async-http-client-backend-zio" % sttpVersion % Test, + "com.softwaremill.sttp.client3" %% "circe" % sttpVersion % Test, + "io.circe" %% "circe-generic" % circeVersion % Test ) ) .dependsOn(core, catsInterop) @@ -400,6 +401,7 @@ lazy val examples = project crossScalaVersions -= scala3, libraryDependencies ++= Seq( "de.heikoseeberger" %% "akka-http-circe" % "1.38.2", + "org.http4s" %% "http4s-blaze-server" % http4sVersion, "com.softwaremill.sttp.client3" %% "async-http-client-backend-zio" % sttpVersion, "com.softwaremill.sttp.tapir" %% "tapir-json-circe" % tapirVersion, "io.circe" %% "circe-generic" % circeVersion,