LUCENE-9077: Force locale en_US on Javadoc task (workaroud for JDK-8222793)

This commit is contained in:
Tomoko Uchida 2020-02-07 01:36:45 +09:00
parent 85dba7356f
commit f3cd1dbde3
1 changed files with 1 additions and 0 deletions

View File

@ -22,6 +22,7 @@ allprojects {
tasks.matching { it.name == "javadoc" }.all {
StandardJavadocDocletOptions opts = (options as StandardJavadocDocletOptions)
opts.locale("en_US")
opts.setJFlags(["-Duser.language=en", "-Duser.country=US"])
opts.charSet = "UTF-8"
opts.encoding = "UTF-8"
opts.docEncoding = "UTF-8"