All Downloads are FREE. Search and download functionalities are using the official Maven repository.

scala-http4s-server.build.sbt Maven / Gradle / Ivy

There is a newer version: 7.9.0
Show newest version
scalaVersion := "2.13.11"
scalacOptions += "-Ymacro-annotations"

val circeVersion = "0.14.5"
def circe(artifact: String): ModuleID = "io.circe" %% s"circe-$artifact" % circeVersion

val http4sVersion = "0.23.23"
def http4s(artifact: String): ModuleID = "org.http4s" %% s"http4s-$artifact" % http4sVersion

val refinedVersion = "0.9.29"
val refined = Seq(
  "eu.timepit" %% "refined"      % refinedVersion,
  "eu.timepit" %% "refined-cats" % refinedVersion
)

val catsVersion = "2.10.0"
val cats = Seq("org.typelevel" %% "cats-core" % catsVersion)

lazy val compilerPlugins = Seq(
  compilerPlugin("com.olegpy"      %% "better-monadic-for" % "0.3.1"),
  compilerPlugin("org.typelevel"   %% "kind-projector"     % "0.13.2" cross CrossVersion.full)
)

libraryDependencies ++= (Seq(
  http4s("core"), http4s("ember-server"), http4s("circe"), http4s("dsl"),
  circe("core"), circe("generic"), circe("parser"), circe("refined")
) ++ refined ++ cats ++ compilerPlugins)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy