How to set options for scala in sbt
Posted on In QAIn 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"