Set Javadoc and JavaCompile encoding to UTF-8
Closes gh-593
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user