Copy encoding configuration of JavaCompile task to ScalaCompile