Set Javadoc and JavaCompile encoding to
Closes
@@ -103,6 +103,10 @@ subprojects {
options.compilerArgs = [ '-Xlint:deprecation', '-Xlint:-options', '-Werror' ]
}
+ tasks.withType(JavaCompile) {
+ options.encoding = 'UTF-8'
+ }
+
}
configure(subprojects - project(":docs")) { subproject ->
@@ -149,6 +153,7 @@ configure(subprojects - project(":docs")) { subproject ->
options.docTitle = "${options.header} API"
options.links = javadocLinks
options.addStringOption '-quiet'
+ options.encoding = 'UTF-8'
}
task sourcesJar(type: Jar) {
