You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by ie...@apache.org on 2020/07/02 10:00:49 UTC

[james-project] branch JAMES-3260-gradle-poc updated: JAMES-3225 #comment Force utf-8 file encoding on builds.a.o

This is an automated email from the ASF dual-hosted git repository.

ieugen pushed a commit to branch JAMES-3260-gradle-poc
in repository https://gitbox.apache.org/repos/asf/james-project.git


The following commit(s) were added to refs/heads/JAMES-3260-gradle-poc by this push:
     new d315c92  JAMES-3225 #comment Force utf-8 file encoding on builds.a.o
d315c92 is described below

commit d315c9265031a135e099980fd86f2e8a59880f99
Author: Eugen Stan <ie...@apache.org>
AuthorDate: Thu Jul 2 13:00:07 2020 +0300

    JAMES-3225 #comment Force utf-8 file encoding on builds.a.o
---
 mailet/standard/build.gradle | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/mailet/standard/build.gradle b/mailet/standard/build.gradle
index c93e90b..93f7760 100644
--- a/mailet/standard/build.gradle
+++ b/mailet/standard/build.gradle
@@ -43,6 +43,8 @@ dependencies {
 
 test {
     useJUnitPlatform()
+    // StripAttachmentTest is dependent on system charset and needs UTF-8. builds.apache.org uses ISO-8859-1 .
+    systemProperty "file.encoding", "utf-8"
 }
 
 description = 'Apache James :: Standard Mailets'


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org