From 24f6fac2f4ca3a82eb776a8756a16785716489f8 Mon Sep 17 00:00:00 2001 From: Bjørn Madsen Date: Fri, 4 Aug 2017 10:21:30 +0200 Subject: Add support for cats effect with AHC backend --- build.sbt | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'build.sbt') diff --git a/build.sbt b/build.sbt index 10e1dd5..b8dfed6 100644 --- a/build.sbt +++ b/build.sbt @@ -105,6 +105,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 +139,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) -- cgit v1.2.3