Using with Dotty
#
Installing in SBTScalaPB 0.11.x fully supports Dotty. There is no need to use withDottyCompat
to get the runtime dependencies correctly added.
To use ScalaPB with dotty, ensure you use a recent sbt-protoc.
In project/plugins.sbt
:
In build.sbt:
#
Generated codeThe generated code is designed to compile cleanly on all support versions of
the Scala compiler with the default compiler settings. It is known that currently
the generator will provide an error if -language:strictEquality
is set.