Передача аргументов JVM в SBT - PullRequest
5 голосов
/ 20 мая 2011

Моя сборка SBT повторяется:

[error] Note: Some input files use unchecked or unsafe operations.
[error] Note: Recompile with -Xlint:unchecked for details.

Как передать аргумент -Xlint:unchecked процессу javac, вызванному SBT?

1 Ответ

6 голосов
/ 20 мая 2011

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

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