mirror of https://github.com/apache/lucene.git
LUCENE-9077: Force locale en_US on Javadoc task (workaroud for JDK-8222793)
This commit is contained in:
parent
85dba7356f
commit
f3cd1dbde3
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue