set encoding for javaDoc to UTF-8

This commit is contained in:
Ben Sartor 2018-01-30 16:57:40 +01:00 committed by François Grisez
parent b416397b1f
commit 490a8bcb50

View file

@ -91,6 +91,7 @@ task(releaseJavadoc, type: Javadoc, dependsOn: "assembleRelease") {
classpath += project.files(android.getBootClasspath().join(File.pathSeparator)) classpath += project.files(android.getBootClasspath().join(File.pathSeparator))
classpath += files(android.libraryVariants.release.javaCompile.classpath.files) classpath += files(android.libraryVariants.release.javaCompile.classpath.files)
classpath += configurations.javadocDeps classpath += configurations.javadocDeps
options.encoding = 'UTF-8'
} }
task sourcesJar(type: Jar) { task sourcesJar(type: Jar) {