I want to use Scala 2 library that wasn't migrated to Scala 3 yet in my Scala 3 project. When I add it as a dependency I get error Modules were resolved with conflicting cross-version suffixes. Is it possible to fix this?
I want to use Scala 2 library that wasn't migrated to Scala 3 yet in my Scala 3 project. When I add it as a dependency I get error Modules were resolved with conflicting cross-version suffixes. Is it possible to fix this?
You can exclude the 2.13 scala-collection-compat like this:
excludeDependencies += "org.scala-lang.modules" % "scala-collection-compat_2.13"