Ammonite icon indicating copy to clipboard operation
Ammonite copied to clipboard

Dependency problem in ammonite-cross-3.1.1-util

Open ml86 opened this issue 2 years ago • 1 comments

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]

ml86 avatar Feb 04 '22 18:02 ml86

This is the same issue as #1241

OOPMan avatar Feb 04 '22 20:02 OOPMan