Skip to content

Commit

Permalink
Remove IO Client as We don't use them in lila
Browse files Browse the repository at this point in the history
  • Loading branch information
lenguyenthanh committed May 9, 2024
1 parent aaeddfc commit 786495b
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 45 deletions.
13 changes: 6 additions & 7 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ lazy val api = (project in file("modules/api"))
name := "lila-search-api",
smithy4sWildcardArgument := "?",
libraryDependencies ++= Seq(
"com.disneystreaming.smithy4s" %% "smithy4s-core" % smithy4sVersion.value
smithy4sCore
)
)

Expand All @@ -73,9 +73,8 @@ lazy val client = (project in file("modules/client"))
scalaVersion := scala3,
name := "lila-search-client",
libraryDependencies ++= Seq(
"com.disneystreaming.smithy4s" %% "smithy4s-http4s" % smithy4sVersion.value,
"com.typesafe.play" %% "play-ahc-ws-standalone" % "2.2.7",
http4sEmberClient
smithy4sJson,
playWS
)
)
.dependsOn(api)
Expand All @@ -87,9 +86,9 @@ lazy val app = (project in file("modules/app"))
commonSettings,
scalaVersion := scala3,
libraryDependencies ++= Seq(
"com.disneystreaming.smithy4s" %% "smithy4s-http4s" % smithy4sVersion.value,
"com.disneystreaming.smithy4s" %% "smithy4s-http4s-swagger" % smithy4sVersion.value,
"com.sksamuel.elastic4s" %% "elastic4s-effect-cats" % "8.11.5",
smithy4sHttp4s,
smithy4sHttp4sSwagger,
elastic4s,
catsCore,
catsEffect,
ducktape,
Expand Down
37 changes: 0 additions & 37 deletions modules/client/src/main/scala/Client.scala

This file was deleted.

13 changes: 12 additions & 1 deletion project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,11 @@ object Dependencies {
val fs2 = "3.10.2"
val http4s = "0.23.27"
val iron = "2.5.0"
val smithy4s = "0.18.16"
}

def http4s(artifact: String) = "org.http4s" %% s"http4s-$artifact" % V.http4s
def http4s(artifact: String) = "org.http4s" %% s"http4s-$artifact" % V.http4s
def smithy4s(artifact: String) = "com.disneystreaming.smithy4s" %% s"smithy4s-$artifact" % V.smithy4s

val catsCore = "org.typelevel" %% "cats-core" % "2.10.0"
val catsEffect = "org.typelevel" %% "cats-effect" % V.catsEffect
Expand All @@ -27,6 +29,15 @@ object Dependencies {
val http4sClient = http4s("client")
val http4sEmberClient = http4s("ember-client")

val smithy4sCore = smithy4s("core")
val smithy4sHttp4s = smithy4s("http4s")
val smithy4sHttp4sSwagger = smithy4s("http4s-swagger")
val smithy4sJson = smithy4s("json")

val playWS = "com.typesafe.play" %% "play-ahc-ws-standalone" % "2.2.7"

val elastic4s = "com.sksamuel.elastic4s" %% "elastic4s-effect-cats" % "8.11.5"

val log4Cats = "org.typelevel" %% "log4cats-slf4j" % "2.7.0"
val logbackX = "ch.qos.logback" % "logback-classic" % "1.5.6"

Expand Down

0 comments on commit 786495b

Please sign in to comment.