diff --git a/modules/roaringbitmap-keystore/build.gradle b/modules/roaringbitmap-keystore/build.gradle index 7bee65c50820d..1c569179e492f 100644 --- a/modules/roaringbitmap-keystore/build.gradle +++ b/modules/roaringbitmap-keystore/build.gradle @@ -17,10 +17,9 @@ dependencies { runtimeOnly 'org.roaringbitmap:shims:0.9.49' } -tasks { - javadoc { - options { - (this as CoreJavadocOptions).addStringOption('Xdoclint:none', '-quiet') - } - } +tasks.withType(Javadoc).configureEach { + failOnError false + options.addStringOption('Xdoclint:none', '-quiet') + options.addStringOption('encoding', 'UTF-8') + options.addStringOption('charSet', 'UTF-8') }