Scala 将JVM参数传递给SBT

Scala 将JVM参数传递给SBT,scala,sbt,jvm-arguments,Scala,Sbt,Jvm Arguments,我的SBT构建正在回响: [error] Note: Some input files use unchecked or unsafe operations. [error] Note: Recompile with -Xlint:unchecked for details. 如何将-Xlint:unchecked参数传递给SBT调用的javac进程?请参见 非常感谢。这是可行的,但我认为这是scalac是不正确的。Javac正在显示错误消息。同一页给了我正确的答案override def j

我的SBT构建正在回响:

[error] Note: Some input files use unchecked or unsafe operations.
[error] Note: Recompile with -Xlint:unchecked for details.
如何将
-Xlint:unchecked
参数传递给SBT调用的javac进程?

请参见


非常感谢。这是可行的,但我认为这是scalac是不正确的。Javac正在显示错误消息。同一页给了我正确的答案
override def javaCompileOptions=super.javaCompileOptions++javaCompileOptions(“-Xlint:unchecked”)
override def compileOptions = super.compileOptions ++ 
  compileOptions("-Xlint:unchecked")