Ammonite
Ammonite copied to clipboard
Dependency problem in ammonite-cross-3.1.1-util
When trying to build with Scala 3 and ammonite 2.5.2 as dependency, SBT eventually complains about
"Modules were resolved with conflicting cross-version suffixes..." after checking the dependency tree i found that ammonite-cross-3.1.1-util
in itself seems to have incompatible depedencies since it depends on fansi_2.13
and fansi_3
.
Excerpt from SBT dependency tree:
[info] | | | | +-com.lihaoyi:ammonite-cross-3.1.1-util_2.13:2.5.2 [S]
[info] | | | | +-com.lihaoyi:fansi_2.13:0.3.0
[info] | | | | | +-com.lihaoyi:sourcecode_2.13:0.2.7
[info] | | | | |
[info] | | | | +-com.lihaoyi:os-lib_2.13:0.8.0
[info] | | | | | +-com.lihaoyi:geny_2.13:0.7.0
[info] | | | | |
[info] | | | | +-com.lihaoyi:pprint_3:0.7.1
[info] | | | | | +-com.lihaoyi:fansi_3:0.3.0
[info] | | | | | | +-com.lihaoyi:sourcecode_3:0.2.7
[info] | | | | | |
[info] | | | | | +-com.lihaoyi:sourcecode_3:0.2.7
[info] | | | | |
[info] | | | | +-org.scala-lang.modules:scala-collection-compat_2.13:2.6.0 [S]
[info] | | | | +-org.scala-lang:scala3-library_3:3.1.1 [S]
This is the same issue as #1241