What am I doing wrong here?
cs resolve com.sageserpent::americium:1.16.1|grep americium
com.sageserpent:americium_2.13:1.16.1:default
So far so good - Americium is cross built for Scala 2.13 and 3.
Let’s check the Scala 3 dependencies…
cs resolve com.sageserpent::americium:1.16.1 --scala-version=3|grep americium
com.sageserpent:americium_2.13:1.16.1:default
That doesn’t seem right - there are Scala 3 artifacts over at Maven Central. Can I jemmy this…?
cs resolve com.sageserpent::americium:1.16.1 --scala-version=3 --force-scala-version=true|grep americium
com.sageserpent:americium_2.13:1.16.1:default
Nope. What if I just add the _3 suffix into the artifact itself and lose a colon…?
cs resolve com.sageserpent:americium_3:1.16.1 |grep americium
com.sageserpent:americium_3:1.16.1:default
Well that one worked!
So I do have a workaround, but I’m a bit perturbed as to why Coursier doesn’t pick up the Scala 3 artifacts.
I saw this: cs does not install scala runner for scala 3 · Issue #2058 · coursier/coursier · GitHub, but that has been closed, and I’m not sure it’s directly relevant.
Any pointers? Should I just stick with the explicit _3 as if I was writing a Maven dependency?