mirror of
https://github.com/pgpainless/pgpainless.git
synced 2025-12-05 03:41:07 +01:00
Document locale workaround
This commit is contained in:
parent
9f9ad7bcab
commit
33c6ba3602
1 changed files with 3 additions and 0 deletions
|
|
@ -11,6 +11,9 @@ plugins {
|
||||||
graalvmNative {
|
graalvmNative {
|
||||||
toolchainDetection = true
|
toolchainDetection = true
|
||||||
|
|
||||||
|
// Unfortunately, GraalVM does set the default locale at build time and does not support detecting the
|
||||||
|
// system locale at runtime. As a workaround, we set the default locale to English to prevent users
|
||||||
|
// being surprised by sudden German messages
|
||||||
binaries.main {
|
binaries.main {
|
||||||
buildArgs.add('-H:DefaultLocale=en')
|
buildArgs.add('-H:DefaultLocale=en')
|
||||||
buildArgs.add('-H:IncludeLocales=de,en')
|
buildArgs.add('-H:IncludeLocales=de,en')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue