Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gradle 4.9 + lombok 1.18 = build failed #1782

Closed
Alexuy opened this issue Jul 17, 2018 · 8 comments
Closed

Gradle 4.9 + lombok 1.18 = build failed #1782

Alexuy opened this issue Jul 17, 2018 · 8 comments

Comments

@Alexuy
Copy link

Alexuy commented Jul 17, 2018

Now lombok not comatible with gradle 4.9. Please, fix it.

With Gradle 4.8.1 all works perferct.

@rspilker
Copy link
Collaborator

Can you test this using the edge release? Although not mentioned in the changelog, we did improve gradle support.

@Alexuy
Copy link
Author

Alexuy commented Jul 18, 2018

@rspilker Yes, today i'm testing it with edge-version 1.18.1 - it works !!! Thanks!

When you planning release your changes and publish lombok to maven repo?

@pun-ky
Copy link

pun-ky commented Jul 18, 2018

I have also tested and could confirm that 1.18.0 and 1.16.22 is not working with Gradle 4.8
e.g when I add to my class XXX annotation Builder then occurred compilation error "Cannot find symbol XXXBuilder" but if I downgrade to Gradle 4.6, the code is being compiled correctly.

I am convinced that Lombok should be aligned to recent version of Gradle.

@rzwitserloot
Copy link
Collaborator

Duplicate of #1716

@rzwitserloot rzwitserloot marked this as a duplicate of #1716 Jul 25, 2018
@renannprado
Copy link

for whoever is also running in this issue:

In the the gradle tutorial in the oficial website it uses older version of the net.ltgt.apt plugin, which was causing my gradle4.9+java10 build to fail.

Upgrading net.ltgt.apt plugin to version 0.18 fixed the problem.

Ref:

image

@methinks
Copy link

methinks commented Oct 18, 2018

I get the same issue with Gradle 4.10.2 and Lombok 1.16.22. Why did this issue get closed? Which version fixes this?

@janrieke
Copy link
Contributor

Lombok 1.18.2 fixes this.

@methinks
Copy link

Thanks, it does indeed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants