You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iceberg.apache.org by bl...@apache.org on 2019/07/09 00:36:06 UTC

[incubator-iceberg] branch master updated: Build: always use UTF-8 for source files (#267)

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

blue pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-iceberg.git


The following commit(s) were added to refs/heads/master by this push:
     new 37e33ce  Build: always use UTF-8 for source files (#267)
37e33ce is described below

commit 37e33ce2b10d76d45c689641c1882bcf6e72829f
Author: Chen, Junjie <ji...@tencent.com>
AuthorDate: Tue Jul 9 08:36:01 2019 +0800

    Build: always use UTF-8 for source files (#267)
---
 build.gradle | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/build.gradle b/build.gradle
index ade8c9a..9476665 100644
--- a/build.gradle
+++ b/build.gradle
@@ -64,6 +64,14 @@ subprojects {
   apply plugin: 'maven' // make pom files for deployment
   apply plugin: 'nebula.maven-base-publish'
 
+  compileJava {
+    options.encoding = "UTF-8"
+  }
+
+  compileTestJava {
+    options.encoding = "UTF-8"
+  }
+
   configurations {
     testCompile.extendsFrom compileOnly
     all {