I get notified about “unchecked” warnings when I compile my Scala project with SBT 0.11, but I can’t see the warnings themselves.
What I see is
[warn] there were 8 unchecked warnings; re-run with -unchecked for details
[warn] one warning found
What exactly am I to “re-run with -unchecked” and how to do that? Neither compile -unchecked, nor compile unchecked, nor xsbt -unchecked seem to work.
I’ve found the answer here.
The solution is to add
to the project’s
build.sbtfile.It can also take “-feature” as an option and works with sbt 0.13