Skip to content
Alexander Ioffe edited this page Dec 30, 2021 · 1 revision

Compilation of various frequent questions.

I am seeing conflicting modules.

Until we start cross-publishing quill-core-portable/quill-sql-portable either this will happen:

 Modules were resolved with conflicting cross-version suffixes
    [error]    com.lihaoyi:sourcecode _3, _2.13
    [error]    com.lihaoyi:fansi _3, _2.13
    [error]    com.lihaoyi:pprint _3, _2.13 

Or this:

[error] Modules were resolved with conflicting cross-version suffixes in ProjectRef(uri("file:/Volumes/Personal/projects/full-zio-stack/"), "server"):
[error]    org.scala-lang.modules:scala-collection-compat _3, _2.13

In order to solve this, add exclusions for the _2.13 artifacts.

excludeDependencies ++= Seq(
  ExclusionRule("org.scala-lang.modules", "scala-collection-compat_2.13"),
  ExclusionRule("com.lihaoyi", "sourcecode_2.13"),
  ExclusionRule("com.lihaoyi", "fansi_2.13"),
  ExclusionRule("com.lihaoyi", "pprint_2.13")
)
Clone this wiki locally