Skip to content

Commit

Permalink
Trimmed the dependencies as scala-xml from Scala 2 was causing proble…
Browse files Browse the repository at this point in the history
…ms you can see in scala/bug#12632
  • Loading branch information
PhillHenry committed Feb 5, 2023
1 parent e58d398 commit fc7bd5e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 12 deletions.
10 changes: 0 additions & 10 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -54,22 +54,12 @@ val commonSettings = List(
testFrameworks += new TestFramework("weaver.framework.CatsEffect"),
libraryDependencies ++= Seq(
Libraries.cats,
Libraries.testkit,
Libraries.catsEffect,
Libraries.cirisCore,
Libraries.cirisRefined,
Libraries.fs2Core,
Libraries.fs2Kafka,
Libraries.kittens,
Libraries.monocleCore.value,
Libraries.neutronCore,
Libraries.odin,
Libraries.refinedCore.value,
Libraries.refinedCats.value,
Libraries.ip4s,
Libraries.logBack,
Libraries.monocleLaw % Test,
Libraries.scalacheck % Test,
Libraries.weaverCats % Test,
Libraries.weaverDiscipline % Test,
Libraries.weaverScalaCheck % Test,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ object ZKKafkaMain extends IOApp.Simple {
zkStart <- Deferred[IO, String]
kafkaLatch = loggingLatch("started (kafka.server.KafkaServer)", kafkaStart)
zkLatch = loggingLatch("Started AdminServer on address", zkStart)
(zk, kafka) <- interpret(client, buildFree(kafkaLatch, zkLatch))
(zk, kafka) <- interpret(client, kafkaEcosystem(kafkaLatch, zkLatch))
_ <- kafkaStart.get.timeout(timeout)
_ <- zkStart.get.timeout(timeout)
} yield (zk, kafka)

def buildFree(
def kafkaEcosystem(
kafkaLogging: String => IO[Unit],
zkLogging: String => IO[Unit],
): Free[ManagerRequest, (ContainerId, ContainerId)] =
Expand Down
1 change: 1 addition & 0 deletions project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ object Dependencies {
def http4s(artifact: String): ModuleID = "org.http4s" %% ("http4s-" + artifact) % V.http4s

val cats = "org.typelevel" %% "cats-core" % V.cats
val catsFree = "org.typelevel" %% "cats-free" % V.cats
val catsEffect = "org.typelevel" %% "cats-effect" % V.catsEffect
val fs2Core = "co.fs2" %% "fs2-core" % V.fs2Core
val kittens = "org.typelevel" %% "kittens" % V.kittens
Expand Down

0 comments on commit fc7bd5e

Please sign in to comment.