Skip to content

Commit

Permalink
Add http4s
Browse files Browse the repository at this point in the history
  • Loading branch information
H1rono committed Feb 23, 2024
1 parent d5ca1e1 commit 0515724
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ lazy val root = (project in file("."))
// deps
libraryDependencies += munit % Test,
libraryDependencies += json4sNative,
libraryDependencies ++= http4s,
libraryDependencies += circeGeneric,
// configurations required by scalafix
semanticdbEnabled := true, // enable SemanticDB
semanticdbVersion := scalafixSemanticdb.revision, // only required for Scala 2.x
Expand Down
7 changes: 7 additions & 0 deletions project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,11 @@ import sbt._
object Dependencies {
lazy val munit = "org.scalameta" %% "munit" % "0.7.29"
lazy val json4sNative = "org.json4s" %% "json4s-native" % "4.1.0-M4"
private val http4sVersion = "0.23.25"
lazy val http4s = Seq(
"org.http4s" %% "http4s-ember-server" % http4sVersion,
"org.http4s" %% "http4s-dsl" % http4sVersion,
"org.http4s" %% "http4s-circe" % http4sVersion,
)
lazy val circeGeneric = "io.circe" %% "circe-generic" % "0.14.6"
}

0 comments on commit 0515724

Please sign in to comment.