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:
parent
cb7eb17caa
commit
006c96b952
|
@ -163,6 +163,7 @@ subprojects { subProject ->
|
||||||
compilerArgs: [
|
compilerArgs: [
|
||||||
"-nowarn",
|
"-nowarn",
|
||||||
"-proc:only",
|
"-proc:only",
|
||||||
|
"-encoding", "UTF-8",
|
||||||
"-processor", "org.jboss.logging.LoggingToolsProcessor",
|
"-processor", "org.jboss.logging.LoggingToolsProcessor",
|
||||||
"-s", "$sourceSets.main.generatedLoggingSrcDir.absolutePath"
|
"-s", "$sourceSets.main.generatedLoggingSrcDir.absolutePath"
|
||||||
]
|
]
|
||||||
|
@ -177,7 +178,7 @@ subprojects { subProject ->
|
||||||
generateMainLoggingClasses.logging.captureStandardError(LogLevel.INFO)
|
generateMainLoggingClasses.logging.captureStandardError(LogLevel.INFO)
|
||||||
|
|
||||||
compileJava.dependsOn generateMainLoggingClasses
|
compileJava.dependsOn generateMainLoggingClasses
|
||||||
compileJava.options.define(compilerArgs: ["-proc:none"])
|
compileJava.options.define(compilerArgs: ["-proc:none", "-encoding", "UTF-8"])
|
||||||
|
|
||||||
manifest.mainAttributes(
|
manifest.mainAttributes(
|
||||||
provider: 'gradle',
|
provider: 'gradle',
|
||||||
|
|
Loading…
Reference in New Issue