Skip to content

Commit

Permalink
moved http api to examples
Browse files Browse the repository at this point in the history
  • Loading branch information
justcoon committed Aug 13, 2023
1 parent fdf5f7d commit 8a182cb
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ lazy val root = project
slf4jBridge,
slf4j2Bridge,
jpl,
apiHttp,
benchmarks,
examplesCore,
examplesJpl,
Expand Down Expand Up @@ -111,18 +110,6 @@ lazy val coreJS = core.js.settings(
libraryDependencies += "io.github.cquiroz" %%% "scala-java-time" % scalaJavaTimeVersion % Test
)

lazy val apiHttp = project
.in(file("api-http"))
.dependsOn(coreJVM)
.settings(stdSettings("zio-logging-api-http", turnCompilerWarningIntoErrors = false))
.settings(enableZIO())
.settings(mimaSettings(failOnProblem = true))
.settings(
libraryDependencies ++= Seq(
"dev.zio" %% "zio-http" % zioHttp
)
)

lazy val slf4j = project
.in(file("slf4j"))
.dependsOn(coreJVM)
Expand Down Expand Up @@ -206,13 +193,14 @@ lazy val benchmarks = project

lazy val examplesCore = project
.in(file("examples/core"))
.dependsOn(coreJVM, apiHttp)
.dependsOn(coreJVM)
.settings(stdSettings("zio-logging-examples-core", turnCompilerWarningIntoErrors = false))
.settings(enableZIO())
.settings(
publish / skip := true,
libraryDependencies ++= Seq(
"dev.zio" %% "zio-metrics-connectors" % zioMetricsConnectorsVersion,
"dev.zio" %% "zio-http" % zioHttp,
"dev.zio" %% "zio-config-typesafe" % zioConfig
)
)
Expand Down

0 comments on commit 8a182cb

Please sign in to comment.