playframework / play-doc

Play documentation rendering support
Apache License 2.0
21 stars 23 forks source link

Scala3 migration #173

Closed PeuTit closed 1 year ago

PeuTit commented 1 year ago

Update Play-doc to compile in Scala3.

Todo: Make the test compile in Scala3

BillyAutrey commented 1 year ago

Note - specs2 has known limitations for cross-compilation (listed here). This commit is an example of one of these limitations - namely, the beSome matcher needs a type parameter to compile in Scala 3.

PeuTit commented 1 year ago

Everything is compiling now and the tests passes. Should I tackle the warnings thrown by the compiler in this PR or should I create another one after merging?

mkurz commented 1 year ago

Great, thanks!

Should I tackle the warnings thrown by the compiler in this PR or should I create another one after merging?

You can do that in the next PR. I will release vesion 2.2.0-M2 so we can use that in the main Play repo already.