how can I install lombok with gradle in eclipse?

Lombok can help improve your efficiency. For example, you can use “@Slf4j” instead of log ‘s sentence in a single class. In order to install Lombok.jar,there is something that you need to do.

 

Please Follow the steps:

1. gradle configuration:

compile('org.projectlombok:lombok:1.16.22'),

then gradle-> refresh

2.download:https://projectlombok.org/downloads/lombok.jar

3. install lombok jar for eclipse:

java -jar lombok.jar,

then specify location,

then choose the eclipse.exe 's location,

then install/update,

then restart eclipse.

 参考文章:https://howtodoinjava.com/automation/lombok-eclipse-installation-examples/

posted @ 2018-06-04 11:51  董永辉Bruno  阅读(155)  评论(0)    收藏  举报