spray-json icon indicating copy to clipboard operation
spray-json copied to clipboard

Cross-compile for scala 3?

Open Daenyth opened this issue 4 years ago • 1 comments

I saw another issue suggesting to reuse the 2.13 artifacts, but that's very undesirable for other libraries which depend on spray-json - it's not a good approach to compatibility. For example, https://github.com/scala-js/scala-js-dom/issues/451

Daenyth avatar Jul 21 '21 17:07 Daenyth

I agree, for 'direct' dependencies the cross-dependency approach is great, but for libraries it is more painful (it is for example also discouraged in https://scala-lang.org/blog/2021/04/08/scala-3-in-sbt.html#a-smooth-transition).

I made a quick attempt in #342 but quickly ran into https://github.com/lampepfl/dotty/issues/2214

raboof avatar Jul 22 '21 08:07 raboof