Open bbarker opened 3 months ago
Duplicate of #1035.
With some time and love this problem might be solvable. More documentation about this is available on https://docs.scala-lang.org/scala3/guides/migration/compatibility-classpath.html
If needed, we will definitely accept pull requests that fix this.
Fortunately, for now, we have a workaround:
lazy val embeddedkafkaSchemaReg = ("io.github.embeddedkafka" %% "embedded-kafka-schema-registry" % confluentKafkaV % Test)
.cross(CrossVersion.for3Use2_13) exclude ("org.scala-lang.modules", "scala-collection-compat_2.13")
Also posted in the other issue.
When we try to use https://github.com/embeddedkafka/embedded-kafka-schema-registry in our project, we get a conflict:
It seems that zio-kafka is pulling in the 2.13 version of embedded kafka for the Scala 3 build; not sure if there's a way around this.
Here's how we're pulling in both deps: