How should I integrate lombok with groovy and gradle?

990 views
Skip to first unread message

Gemini

unread,
Apr 27, 2016, 8:08:11 AM4/27/16
to Project Lombok
I've tried to use lombok in Gradle project. But I found all annotations on my Groovy sources did not work. My project is here.

My purpose is integrate it into my Gradle project and work together with Groovy sources. Can it be possible?

Any advice will be appreciated, thanks a lot!

Horace

unread,
May 6, 2016, 1:54:55 PM5/6/16
to Project Lombok
I have the same issue with my spring boot project, it seems lombok blocks spring from processing the annotation, any insight is highly appreciated!

Horace

unread,
May 6, 2016, 2:36:15 PM5/6/16
to Project Lombok
hi Gemini, I posted in my own thread, but just update you here, after I remove the following line, it works for me, my guess is maybe they preprocess java in different passes, so it throws warning for some unrecognized annotation (actually a speculation on my side).

        options.compilerArgs << '-Werror'


On Wednesday, April 27, 2016 at 5:08:11 AM UTC-7, Gemini wrote:

Horace

unread,
May 6, 2016, 7:52:29 PM5/6/16
to Project Lombok
actually this is not a fix, this is just ignore the warning.

Basil Peace

unread,
Oct 30, 2017, 10:55:33 AM10/30/17
to Project Lombok
Guys, did somebody achieve success in this?
Reply all
Reply to author
Forward
0 new messages