diff --git a/build.gradle b/build.gradle index df6e3ca9213..aa52782a92b 100644 --- a/build.gradle +++ b/build.gradle @@ -168,6 +168,7 @@ configurations.all { tasks.withType(JavaCompile) { options.compilerArgs = ['-proc:none', '-Xlint:all', '-Werror', '-Xdiags:verbose'] + options.encoding = 'UTF-8' } sourceSets { @@ -580,6 +581,7 @@ task testUtilsJar(type: Jar){ tasks.withType(Javadoc) { // do this for all javadoc tasks, including gatkDoc options.addStringOption('Xdoclint:none') + options.addStringOption('encoding', 'UTF-8') } javadoc {