aboutsummaryrefslogtreecommitdiff
path: root/build.sbt
diff options
context:
space:
mode:
authorAdam Warski <adam@warski.org>2017-08-04 11:58:29 +0200
committerGitHub <noreply@github.com>2017-08-04 11:58:29 +0200
commitab566fd5cf0f54e8e69b2917b32e57f2321d49ee (patch)
treedaf39b33bf972d5b538f85eb202367920121cf4a /build.sbt
parentdbec6b509e89f21628dc90fd8a2ed8d299135b24 (diff)
parent5ce4a596d49e7da42b8a60d438094f3ba67ab3f5 (diff)
downloadsttp-ab566fd5cf0f54e8e69b2917b32e57f2321d49ee.tar.gz
sttp-ab566fd5cf0f54e8e69b2917b32e57f2321d49ee.tar.bz2
sttp-ab566fd5cf0f54e8e69b2917b32e57f2321d49ee.zip
Merge pull request #21 from aeons/feature/cats-effect
Add support for cats effect with AHC backend
Diffstat (limited to 'build.sbt')
-rw-r--r--build.sbt13
1 files changed, 12 insertions, 1 deletions
diff --git a/build.sbt b/build.sbt
index 10e1dd5..332e80b 100644
--- a/build.sbt
+++ b/build.sbt
@@ -45,6 +45,7 @@ lazy val rootProject = (project in file("."))
futureAsyncHttpClientHandler,
scalazAsyncHttpClientHandler,
monixAsyncHttpClientHandler,
+ catsAsyncHttpClientHandler,
okhttpClientHandler,
tests
)
@@ -105,6 +106,16 @@ lazy val monixAsyncHttpClientHandler: Project = (project in file(
)
) dependsOn asyncHttpClientHandler
+lazy val catsAsyncHttpClientHandler: Project = (project in file(
+ "async-http-client-handler/cats"))
+ .settings(commonSettings: _*)
+ .settings(
+ name := "async-http-client-handler-cats",
+ libraryDependencies ++= Seq(
+ "org.typelevel" %% "cats-effect" % "0.4"
+ )
+ ) dependsOn asyncHttpClientHandler
+
lazy val okhttpClientHandler: Project = (project in file(
"okhttp-client-handler"))
.settings(commonSettings: _*)
@@ -129,4 +140,4 @@ lazy val tests: Project = (project in file("tests"))
).map(_ % "test"),
libraryDependencies += "org.scala-lang" % "scala-compiler" % scalaVersion.value % "test"
) dependsOn (core, akkaHttpHandler, futureAsyncHttpClientHandler, scalazAsyncHttpClientHandler,
-monixAsyncHttpClientHandler, okhttpClientHandler)
+monixAsyncHttpClientHandler, catsAsyncHttpClientHandler, okhttpClientHandler)