[
https://issues.apache.org/jira/browse/LUCENE-9312?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17161684#comment-17161684
]
Tomoko Uchida commented on LUCENE-9312:
---------------------------------------
Off-topic: I had to set those fork options in "defaults-java.gradle" to show
javac error messages in English (my default locale is ja_JP; Java seems to have
lots of Japanese translation resource for better or worse...).
{code:java}
+++ b/gradle/defaults-java.gradle
@@ -25,6 +25,7 @@ allprojects {
// Use 'release' flag instead of 'source' and 'target'
tasks.withType(JavaCompile) {
options.compilerArgs += ["--release", "11"]
+ options.forkOptions.jvmArgs += ["-J-Duser.country=US",
"-J-Duser.language=en_US"]
}
{code}
Same options are already set in "render-javadoc.gradle", I'd like to have them
in default-java.gradle too, though am not sure where is the proper location for
them.
> Allow builds against arbitrary JVMs (even those unsupported by gradle)
> ----------------------------------------------------------------------
>
> Key: LUCENE-9312
> URL: https://issues.apache.org/jira/browse/LUCENE-9312
> Project: Lucene - Core
> Issue Type: Sub-task
> Reporter: Dawid Weiss
> Assignee: Dawid Weiss
> Priority: Major
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]