Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Vert.x Code Generator breaks Java compilation with Gradle v4.7 annotationProcessor

Open
#181 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
30/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
java
Domain
build-system

Research direction

Start by reproducing the failure in the linked vertx-gradle-errorprone-bug-reproducer project with Gradle 4.7 and the annotationProcessor dependency configuration. Compare it with the working compile configuration and verify the result against Error Prone and incremental-build concerns. Done means the Vert.x Code Generator works with annotationProcessor without breaking Java compilation.

Written by the indexing model from the issue text.

Description

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 using compile). But an APT processor on compile instead of annotationProcessor 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.

Dominant language
Java
Stars
111
Forks
88
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from eclipse-vertx/vertx-codegen

All issues in eclipse-vertx/vertx-codegen

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.