Skip to content

Commit 992727f

Browse files
committed
tidy build
1 parent a14cd27 commit 992727f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

project/build/FunctionalJavaProject.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import Process._
55
abstract class FunctionalJavaDefaults(info: ProjectInfo) extends DefaultProject(info) with JavaDocProject with OverridableVersion {
66
private val encodingUtf8 = List("-encoding", "UTF-8")
77

8-
override def compileOptions = target(Target.Java1_5) :: List(CompileOptions.Unchecked, "-encoding", "UTF-8").map(CompileOption) ++ super.compileOptions
8+
override def compileOptions = target(Target.Java1_5) :: (CompileOptions.Unchecked :: encodingUtf8).map(CompileOption) ++ super.compileOptions
99

1010
override def javaCompileOptions = List("-target", "1.5", "-encoding", "UTF-8", "-Xlint:unchecked").map(JavaCompileOption) ++ super.javaCompileOptions
1111

0 commit comments

Comments
 (0)