Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Passing JVM args to SBT

My SBT build is echoing:

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

How can I pass the -Xlint:unchecked argument to the javac process invoked by SBT?

like image 543
Synesso Avatar asked May 20 '11 01:05

Synesso


1 Answers

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

override def compileOptions = super.compileOptions ++ 
  compileOptions("-Xlint:unchecked")
like image 97
huynhjl Avatar answered Oct 29 '22 12:10

huynhjl