Open crispywalrus opened 1 year ago
No need to fork. It could be added with Scala3
renderers and then users could opt in to use this renderers, when they need Scala3 code. I never tried using generated sources for multiple Scala version, so, I don't know if it is possible to just generate for both Scala2 and Scala3 at the same time (w/o requiring additional support from SBT).
Hi,
I just opened a pull request that should solve this issue. Hope it helps
BuildInfoOption.ToJson generates code that doesn't compile with scala 3.x. It uses
_
wildcards and tries to match againstscala.Int
(and many other types) These have been changed in scala 3 so perhaps we need a option or fork that produces scala 3 compatible code.