From c316088dd20e5d284315387f94b90f5de602e375 Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Mon, 25 Jul 2016 10:12:03 +0200 Subject: [PATCH] Force UTF-8 encoding Issue: SPR-11569 --- build.gradle | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build.gradle b/build.gradle index 62f213f758..075d12f01a 100644 --- a/build.gradle +++ b/build.gradle @@ -114,6 +114,8 @@ configure(allprojects) { project -> } } + compileJava.options.encoding = 'UTF-8' + compileJava.options*.compilerArgs = [ "-Xlint:serial", "-Xlint:varargs", "-Xlint:cast", "-Xlint:classfile", "-Xlint:dep-ann", "-Xlint:divzero", "-Xlint:empty", "-Xlint:finally",