HHH-6228 Compile tasks using now UTF-8 encoding. Initially they used platform encoding making build platform dependent.

Change-Id: I64d5496a71c96008b175f53b3febdad7ed6febfd
This commit is contained in:
Stevo Slavic 2011-05-17 01:17:39 +02:00 committed by Hardy Ferentschik
parent cb7eb17caa
commit 006c96b952
1 changed files with 2 additions and 1 deletions

View File

@ -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',