From 006c96b952db7abe5ae94e68dc86ee462757230d Mon Sep 17 00:00:00 2001 From: Stevo Slavic Date: Tue, 17 May 2011 01:17:39 +0200 Subject: [PATCH] HHH-6228 Compile tasks using now UTF-8 encoding. Initially they used platform encoding making build platform dependent. Change-Id: I64d5496a71c96008b175f53b3febdad7ed6febfd --- build.gradle | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 33b4e61574..1c6745db33 100644 --- a/build.gradle +++ b/build.gradle @@ -163,6 +163,7 @@ subprojects { subProject -> compilerArgs: [ "-nowarn", "-proc:only", + "-encoding", "UTF-8", "-processor", "org.jboss.logging.LoggingToolsProcessor", "-s", "$sourceSets.main.generatedLoggingSrcDir.absolutePath" ] @@ -177,7 +178,7 @@ subprojects { subProject -> generateMainLoggingClasses.logging.captureStandardError(LogLevel.INFO) compileJava.dependsOn generateMainLoggingClasses - compileJava.options.define(compilerArgs: ["-proc:none"]) + compileJava.options.define(compilerArgs: ["-proc:none", "-encoding", "UTF-8"]) manifest.mainAttributes( provider: 'gradle',