diff options
author | Dominik Stadler <centic@apache.org> | 2018-02-08 19:34:22 +0000 |
---|---|---|
committer | Dominik Stadler <centic@apache.org> | 2018-02-08 19:34:22 +0000 |
commit | 694e3c782675a937ea1ace1f918e718080e5b86e (patch) | |
tree | 931f67d9cf1222a23926b0576a82f3f2b40a9244 /build.gradle | |
parent | 21e5140462255224d9261a7575e89b35255ec0ac (diff) | |
download | poi-694e3c782675a937ea1ace1f918e718080e5b86e.tar.gz poi-694e3c782675a937ea1ace1f918e718080e5b86e.zip |
Bug 62042: Adjust gradle build to properly set the locale
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1823596 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build.gradle')
-rw-r--r-- | build.gradle | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/build.gradle b/build.gradle index cf32c436f6..5811fe43bc 100644 --- a/build.gradle +++ b/build.gradle @@ -101,11 +101,12 @@ subprojects { exclude '**/TestUnfixedBugs.class' exclude '**/TestOneFile.class' - systemProperties = System.properties - // set heap size for the test JVM(s) minHeapSize = "128m" maxHeapSize = "768m" + + // Specifying the local via system properties did not work, so we set them this way + jvmArgs '-Duser.language=en -Duser.country=US' // show standard out and standard error of the test JVM(s) on the console //testLogging.showStandardStreams = true @@ -114,15 +115,8 @@ subprojects { systemProperties['user.dir'] = workingDir systemProperties['POI.testdata.path'] = '../../test-data' - //systemProperties['user.language'] = 'en' - //systemProperties['user.country'] = 'US' } - test.beforeSuite { TestDescriptor suite -> - System.setProperty('user.language', 'en') - System.setProperty('user.country', 'US') - } - jacoco { toolVersion = '0.7.9' } |