Skip to content

Commit cf6d961

Browse files
marko-bekhtasebersole
authored andcommitted
HHH-18488 Disable adding of @generated on logger impls
1 parent 28988a9 commit cf6d961

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

gradle/java-module.gradle

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,10 +185,13 @@ tasks.withType( JavaCompile ) {
185185
options.fork = true
186186
options.forkOptions.memoryMaximumSize = '768m'
187187

188-
// javaCompileTask.options.compilerArgs += [
188+
options.compilerArgs += [
189+
// disable adding @Generated annotation in the logger impls to make
190+
// the logging annotation processor create the same sources each time.
191+
"-Aorg.jboss.logging.tools.addGeneratedAnnotation=false"
189192
// "-nowarn",
190193
// "-encoding", "UTF-8"
191-
// ]
194+
]
192195
}
193196

194197

0 commit comments

Comments
 (0)