You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have reason to believe that the Vert.x Code Generator APT processor completely breaks Java compilation in Gradle when using with Gradle v4.7 and the annotationProcessor.
Apparently, the MVEL generator loads codegen.json and templates from its classloader. If it's expected that these are on the compile classpath (rather than the processor path), then it should use the processingEnv.getFiler() instead.
I have reason to believe that the Vert.x Code Generator APT processor completely breaks Java compilation in Gradle when using with Gradle v4.7 and the
annotationProcessor
.Found in https://github.com/vorburger/minecraft-storeys-maker/issues/53, but now reproduced in https://github.com/vorburger/vertx-gradle-errorprone-bug-reproducer. That very simple project fails when using
annotationProcessor
(but works when usingcompile
). But an APT processor oncompile
instead ofannotationProcessor
breaks Error Prone. It's also "not right", and AFAIK doesn't play nice with Gradle's incremental build.In an ideal world, Vert.x's Code Generator should "just work" (out of the box) with Gradle v4.7 annotationProcessor.
The text was updated successfully, but these errors were encountered: