开发者

Passing JVM args to SBT

My SBT build is echoing:

[error] Note: Some input files use unchecked or unsafe operations.
[error] Note: Recompile with -Xlin开发者_C百科t:unchecked for details.

How can I pass the -Xlint:unchecked argument to the javac process invoked by SBT?


See http://code.google.com/p/simple-build-tool/wiki/BuildConfiguration#Compile_Options

override def compileOptions = super.compileOptions ++ 
  compileOptions("-Xlint:unchecked")
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜