Reputation: 582
I have an application which reads Json
data using WebClient
. I have deployed the same on Heroku
.
So I used lombok
library to parse Json to Java Object.
@Getter
@Setter
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class member {
//properties
}
If I use lombok
and deploy the same on heroku, I'm not receiving data whereas If remove lombok
and use normal Getters
and Setters
, then it is working as expected!
Is that mean heroku
is not supporting lombok
? I couldn't find anywhere in the official document. Or Do i need anything to support lombok
on Heroku
?
Upvotes: 0
Views: 443
Reputation: 1786
You need to add lombok plugin into your gradle configuration like this
plugins {
id "io.freefair.lombok" version "5.1.0"
}
so that the annotations will be processed properly.
Upvotes: 1