【发布时间】:2014-01-22 18:00:15
【问题描述】:
在编译我的 SBT 项目定义(即project 目录中的文件)时,我收到deprecation 和feature 警告。 SBT 版本为 0.13.0。
我没有通过设置scalacOptions := Seq("-feature", "-deprecation") 获得更多信息,这似乎只适用于项目源文件而不是项目定义文件。
有谁知道在编译项目定义时如何为编译器设置弃用和警告?
[info] Loading project definition from /home/xxx/website/project
[warn] there were 2 deprecation warning(s); re-run with -deprecation for details
[warn] there were 4 feature warning(s); re-run with -feature for details
[warn] two warnings found
【问题讨论】:
标签: sbt