-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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 can't invoke compiler if isFork=true in Gradle 4.6. #1603
Comments
I think that a MVCE here would be helpful. |
This issue also occurs in Gradle 4.7 |
You need to use Java9+ to compile lombok! |
@victorwss this was not about compiling Lombok, |
Hello @victorwss, I suspect I have observed the same issue using Gradle 4.6/4.7 + Lombok 1.16.6/.16.20. More details in related Lombok issue 1671 at Java 8 compiler cannot compile Lombok annotations when used with Gradle 4.6 or Gradle 4.7 and java compiler fork option is true I can prepare a test case if that will assist with the investigation. Regards, Tim |
FYI this was fixed in Gradle 4.10. If there are any other such issues, please let me know, so I can improve our smoke test. |
There is a issue similar to many other through the history of Lombok it seems.
#compiler #tools
Now, after changing Gradle version to 4.6 if with JDK 1.8_162
if I put
isFork = true
in javaCompileI got
With Gradle 4.5.1. it is working fine
or if I simply comment out
isFork = true
So, what are the options to fix this??
The text was updated successfully, but these errors were encountered: