Reputation: 369
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?
Upvotes: 0
Views: 1028
Reputation: 369
You can exclude the 2.13 scala-collection-compat like this:
excludeDependencies += "org.scala-lang.modules" % "scala-collection-compat_2.13"
Upvotes: 2