我的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进程?
override def compileOptions = super.compileOptions ++
compileOptions("-Xlint:unchecked")
override def javaCompileOptions = super.javaCompileOptions ++ javaCompileOptions("-Xlint:unchecked")
- Synesso