Mehatab Syed
Mehatab Syed

Reputation: 33

how to compile project without using Lombok plugin in intellij IDEA

i have some restriction to download the plugins for intellij. In this case how can i compile my app using lombok.

i have tried to paas lombok jar through VM options in run configuration but no luck. any suggestion will be appreaciated.

Upvotes: 3

Views: 924

Answers (1)

Roel Spilker
Roel Spilker

Reputation: 34462

You can still use Lombok in your code, provided you instructed your build tool to have a build-time dependency.

Without the Plugin, that will result in a lot of red wavy underlines in IntelliJ. But the code would still compile and run.

Disclosure: I am a Lombok developer.

Upvotes: 5

Related Questions