Closed soberich closed 2 years ago
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, about using it in project. I understand that to BUILD Lombok locally u need to use 9th, but it was not about Building. Issue present.
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
https://github.com/rzwitserloot/lombok/issues/1671
I can prepare a test case if that will assist with the investigation.
Regards,
Tim
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??