Skip to content

Commit

Permalink
Enable UTF-8 encoding.
Browse files Browse the repository at this point in the history
  • Loading branch information
rxin committed Jun 11, 2015
1 parent 82d58cc commit 1ff7c82
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion project/SparkBuild.scala
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,9 @@ object SparkBuild extends PomBuild {
javacOptions in (Compile, doc) ++= {
val Array(major, minor, _) = System.getProperty("java.version").split("\\.", 3)
if (major.toInt >= 1 && minor.toInt >= 8) Seq("-Xdoclint:all", "-Xdoclint:-missing") else Seq.empty
}
},

javacOptions in (Compile, doc) += "-encoding UTF-8"
)

def enable(settings: Seq[Setting[_]])(projectRef: ProjectRef) = {
Expand Down

0 comments on commit 1ff7c82

Please sign in to comment.