Hey folks. What's some recommended advice for sett...
# community-support
k
Hey folks. What's some recommended advice for setting up a Scala project that has to compile against multiple versions of Scala? Would it be to make each version of Scala a feature?
c
are you publishing multiple artifacts? testing, or? if you're testing I'd look at
JvmTestSuite
's
k
Publishing different jars, such that they conform to that Scala convention where they have jars with the Scala version in their name.
c
hmm... not certain 😕 sorry I know nothing about scala and whether or not it supports any of the features like javaToolchain does
which you can override some things in various other extensions and whatever
you might also be able to do some shenanigans with your CI, but yeah, this involves a lot of "how does the scala plugin/compiler" work. Hope someone else know's more