HHH-18488 Disable adding of @Generated on logger impls

This commit is contained in:
marko-bekhta 2024-08-10 22:03:13 +02:00 committed by Steve Ebersole
parent 28988a9a5c
commit cf6d9619b0
1 changed files with 5 additions and 2 deletions

View File

@ -185,10 +185,13 @@ tasks.withType( JavaCompile ) {
options.fork = true
options.forkOptions.memoryMaximumSize = '768m'
// javaCompileTask.options.compilerArgs += [
options.compilerArgs += [
// disable adding @Generated annotation in the logger impls to make
// the logging annotation processor create the same sources each time.
"-Aorg.jboss.logging.tools.addGeneratedAnnotation=false"
// "-nowarn",
// "-encoding", "UTF-8"
// ]
]
}