Gradle 5.0 with Lombok and Spring Boot

Tsuyoshi Ushio
Jan 8 · 2 min read


Lombok with VSCode plugin
$ gradle build > Task :compileJava FAILED
/Users/ushio/Codes/Fujifilm/functions-distributed-tracing-sample/JavaSample/src/main/java/processor/ error: variable text not initialized in the default constructor
private final String text;
$ gradle --version------------------------------------------------------------
Gradle 5.0
Build time: 2018-11-26 11:48:43 UTC
Revision: 7fc6e5abf2fc5fe0824aec8a0f5462664dbcd987
Kotlin DSL: 1.0.4
Kotlin: 1.3.10
Groovy: 2.5.4
Ant: Apache Ant(TM) version 1.9.13 compiled on July 10 2018
JVM: 1.8.0_131 (Oracle Corporation 25.131-b11)
OS: Mac OS X 10.13.5 x86_64



Tsuyoshi Ushio

Written by

Software Development Engineer — Microsoft

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade