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-avatica.git
The following commit(s) were added to refs/heads/main by this push:
new 07c6b8d92 [CALCITE-6212] Config locale = en_US for javadoc task
07c6b8d92 is described below
commit 07c6b8d92f478646e3e605a80dc0d60329c37d33
Author: Benchao Li <[email protected]>
AuthorDate: Fri Jan 19 10:37:42 2024 +0800
[CALCITE-6212] Config locale = en_US for javadoc task
---
build.gradle.kts | 2 ++
1 file changed, 2 insertions(+)
diff --git a/build.gradle.kts b/build.gradle.kts
index b866f0e8f..465f194a1 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -241,6 +241,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