Hello,
I’m trying to set up a project using both zio-http and quill with scala 3.
I have this build.sbt file:
lazy val root = project
.in(file("."))
.settings(
name := "sandbox",
version := "0.1.0",
scalaVersion := "3.0.2",
libraryDependencies ++= Seq(
"dev.zio" %% "zio" % "2.0.0-M2",
"io.d11" %% "zhttp" % "1.0.0.0-RC17",
"io.getquill" %% "quill-zio" % "3.10.0.Beta1.5"
)
)
If I leave out either “zhttp” or “quill-zio” I can compile with no errors, but when both are added as dependencies I get a conflict like this:
[error] Modules were resolved with conflicting cross-version suffixes in ProjectRef(uri("file:/home/victor/workspace/sandbox/"), "root"):
[error] org.scala-lang.modules:scala-collection-compat _3, _2.13
[error] stack trace is suppressed; run last update for the full output
[error] (update) Conflicting cross-version suffixes in: org.scala-lang.modules:scala-collection-compat
[error] Total time: 0 s, completed 17 sep. 2021 19:27:59
I tried adding exclude (“org.scala-lang.modules”, “scala-collection-compat”) and with previous versions of both libraries with no luck.
Any tips on how to deal with this kind of conflict?
Thanks