我的SBT构建正在回应:
[error] Note: Some input files use unchecked or unsafe operations.
[error] Note: Recompile with -Xlint:unchecked for details.
如何将-Xlint:unchecked
参数传递给SBT调用的javac进程?
答案 0 :(得分:6)
请参阅http://code.google.com/p/simple-build-tool/wiki/BuildConfiguration#Compile_Options
override def compileOptions = super.compileOptions ++
compileOptions("-Xlint:unchecked")