aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAxel Howind <axh@apache.org>2024-02-20 22:48:53 +0000
committerAxel Howind <axh@apache.org>2024-02-20 22:48:53 +0000
commit386ddb8e6b71f56fa120567b150c292908c68b68 (patch)
tree6d8512a7b27a652adcb2524cf6392e0d6b0e7487
parent1bb5f644f154b03714c4b250fd845ae68af00927 (diff)
downloadpoi-386ddb8e6b71f56fa120567b150c292908c68b68.tar.gz
poi-386ddb8e6b71f56fa120567b150c292908c68b68.zip
move setting of locale for tests to top level build.gradle
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1915910 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--build.gradle4
-rw-r--r--poi/build.gradle4
2 files changed, 4 insertions, 4 deletions
diff --git a/build.gradle b/build.gradle
index e9ed362c54..011368f9db 100644
--- a/build.gradle
+++ b/build.gradle
@@ -334,6 +334,10 @@ subprojects {
}
test {
+ // use US locale for tests
+ systemProperty "user.language", "en"
+ systemProperty "user.country", "US"
+
// make XML test-results available for Jenkins CI
useJUnitPlatform()
reports {
diff --git a/poi/build.gradle b/poi/build.gradle
index 8c8c3bd03a..94cf7f8c67 100644
--- a/poi/build.gradle
+++ b/poi/build.gradle
@@ -169,10 +169,6 @@ artifacts {
}
test {
- // use US locale for tests
- systemProperty "user.language", "en"
- systemProperty "user.country", "US"
-
dependsOn { testJar }
systemProperties['junit.jupiter.execution.parallel.enabled'] = 'true'