This is an automated email from the ASF dual-hosted git repository.
libenchao pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/calcite.git
The following commit(s) were added to refs/heads/main by this push:
new d5fa3eb074 [CALCITE-6212] Config locale = 'en_US' for javadoc task
d5fa3eb074 is described below
commit d5fa3eb07492675e08308635967117932f98478f
Author: Benchao Li <[email protected]>
AuthorDate: Thu Jan 18 22:49:13 2024 +0800
[CALCITE-6212] Config locale = 'en_US' for javadoc task
Close apache/calcite#3637
---
build.gradle.kts | 2 ++
1 file changed, 2 insertions(+)
diff --git a/build.gradle.kts b/build.gradle.kts
index dc6a91658e..0df08ac15c 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -486,6 +486,8 @@ allprojects {
(options as StandardJavadocDocletOptions).apply {
// Please refrain from using non-ASCII chars below since the
options are passed as
// javadoc.options file which is parsed with "default encoding"
+ // locale should be placed at the head of any options:
https://docs.gradle.org/current/javadoc/org/gradle/external/javadoc/CoreJavadocOptions.html#getLocale
+ locale = "en_US"
noTimestamp.value = true
showFromProtected()
// javadoc: error - The code being documented uses modules but
the packages