We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a14cd27 commit 992727fCopy full SHA for 992727f
1 file changed
project/build/FunctionalJavaProject.scala
@@ -5,7 +5,7 @@ import Process._
5
abstract class FunctionalJavaDefaults(info: ProjectInfo) extends DefaultProject(info) with JavaDocProject with OverridableVersion {
6
private val encodingUtf8 = List("-encoding", "UTF-8")
7
8
- override def compileOptions = target(Target.Java1_5) :: List(CompileOptions.Unchecked, "-encoding", "UTF-8").map(CompileOption) ++ super.compileOptions
+ override def compileOptions = target(Target.Java1_5) :: (CompileOptions.Unchecked :: encodingUtf8).map(CompileOption) ++ super.compileOptions
9
10
override def javaCompileOptions = List("-target", "1.5", "-encoding", "UTF-8", "-Xlint:unchecked").map(JavaCompileOption) ++ super.javaCompileOptions
11
0 commit comments