How to see all the warnings in SBT 0.11?

前端 未结 1 470
情深已故
情深已故 2021-01-17 09:47

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

[w         


        
1条回答
  •  鱼传尺愫
    2021-01-17 10:02

    I've found the answer here.

    The solution is to add

    scalacOptions ++= Seq("-unchecked", "-deprecation")
    

    to the project's build.sbt file.

    It can also take "-feature" as an option and works with sbt 0.13

    0 讨论(0)
提交回复
热议问题