HHH-14144 Explicitly set localization assumptions for the build and testsuite
This commit is contained in:
parent
509db7cc79
commit
f270f688e6
|
@ -1 +1,2 @@
|
||||||
org.gradle.jvmargs=-Xmx1g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError -Duser.language=en
|
# Keep system properties in sync with test system properties (java-module.gradle)!
|
||||||
|
org.gradle.jvmargs=-Xmx1g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError -Duser.language=en -Duser.country=US -Duser.timezone=UTC -Dfile.encoding=UTF-8
|
||||||
|
|
|
@ -208,6 +208,14 @@ processTestResources {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Keep system properties in sync with gradle.properties!
|
||||||
|
test {
|
||||||
|
systemProperty 'user.language', 'en'
|
||||||
|
systemProperty 'user.country', 'US'
|
||||||
|
systemProperty 'user.timezone', 'UTC'
|
||||||
|
systemProperty 'file.encoding', 'UTF-8'
|
||||||
|
}
|
||||||
|
|
||||||
// Enable the experimental features of ByteBuddy with JDK 15+
|
// Enable the experimental features of ByteBuddy with JDK 15+
|
||||||
test {
|
test {
|
||||||
if ( Integer.valueOf( gradle.ext.testedJavaVersionAsEnum.getMajorVersion() ) >= 15 ) {
|
if ( Integer.valueOf( gradle.ext.testedJavaVersionAsEnum.getMajorVersion() ) >= 15 ) {
|
||||||
|
|
Loading…
Reference in New Issue