In sbt, I found this message printed out by the scala compiler:

[warn] there were 1 deprecation warning(s); re-run with -deprecation for details
[warn] one warning found

The question is, how to add options (-deprecation here) to the scala compiler in sbt?

You can use this inside the sbt console:

set scalacOptions += "-deprecation"

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *