Hi everyone, quick question about the spring boot ...
# spring
g
Hi everyone, quick question about the spring boot plugin. Is there any particular reason why the
bootJar
task has a dependency on
kaptKotlin
? My understanding is that kapt is needed only for the metadata generation for the ide, am I wrong?
c
kapt is annotation processor, metadata for IDE is just one use, annotation processing can do all sorts of things aside from that, including but not limited to code generation
g
Is there a specific need for a spring project?
kaptKotlin
slows down all our microservices pipelines and I'm trying to figure out if I can safely exclude that task or not
s
How do you determine that
bootJar
has a dependency on
kaptKotlin
?
g
My fault, I actually found where we were applying the kapt plugin. Now I’m trying to understand if it is really needed. Apart for generating metadata, is usually not needed for spring projects, right?
s
Yes
g
cool, thanks