Open grossws opened 9 years ago
In that case you maybe want to add/create the delomboked sources jar
It can be used as a workaround but looks a little weird. If another dependent project use lombok I'll have lombok annotations in one part (project itself) and delomboked/generated code in another (library). Or have two produce two library versions: for use with lombok-enabled dependent projects and for use with all others.
I have library with lombok in classpath in
provided
scope, so library is built, auto-complete works fine and source jar for library contains lombok annotations etc.I create project without lombok in
compile
orprovided
scope and add library mentioned above as dependency auto-complete for getters & setters works fine. But when I navigate to library source, IDEA cannot resolve getter & setter method in library, annotations and their imports because there's no lombok annotation processor in current classpath.