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