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

Lombok as compile dependency might not be correct (freaks out IDE) #31

Closed
Mario-Eis opened this issue Dec 7, 2021 · 3 comments
Closed
Assignees
Labels
bug Something isn't working

Comments

@Mario-Eis
Copy link

This library is very promising!

But at the moment Lombok is added as a compile dependency. This freaks out my IntelliJ IDE, because it detects Lombok in the classpath without using an annotation processor (I am not using Lombok).
I also never used Lombok. But I think adding it as a compile dependency might no be the correct way to use it.

@Mario-Eis Mario-Eis added the bug Something isn't working label Dec 7, 2021
@Mario-Eis
Copy link
Author

I found some information here: https://projectlombok.org/setup/maven
Seems it should be added as a provided dependency. This would fix my issue.

@ch4mpy
Copy link
Owner

ch4mpy commented Dec 7, 2021

@Mario-Eis good catch. I forgot to set lombok as provided when downgrading Java compatibility from 11 to 1.8, will fix.

Meanwile, you might:

  • install Lombok on IntelliJ, it's awsome (giving it a try is adopting it for sure)
  • use 3.1.3-jdk11 or 3.1.3-jdk17 if your project allows it

ch4mpy added a commit that referenced this issue Dec 7, 2021
ch4mpy added a commit that referenced this issue Dec 7, 2021
@ch4mpy
Copy link
Owner

ch4mpy commented Dec 7, 2021

Fixed in 3.1.4-jdk1.8, 3.1.4-jdk11 and 3.1.4-jdk17.

Thank you for report.

Do not hesitate to comment or re-open if you are not satisfied with solution.

@ch4mpy ch4mpy closed this as completed Dec 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants