Can we find what subtasks executed inside `kaptGen...
# gradle
s
Can we find what subtasks executed inside
kaptGenerateStubsDebugKotlin
or any other task?
v
Depends on what you mean. There is no such thing as subtasks.
w
do you mean other tasks that kaptGenerateStubsDebugKotlin depends on , or do you mean individual task actions kaptGenerateStubsDebugKotlin spawns via the worker API (if any)?
s
Hi John! I think the latter one. My situation is I'm curious why the task takes couple of seconds while I believe no kapt registered/applied.
kapt.verbose=true
also not printing any information regarding it. 🤔
w
if you aren't using any kapt annotation processors, you could remove the kapt plugin from your build. other than that, i dont know how to dig in deeper on that.
v
You could maybe try to get more information with
--debug
. Or maybe with the
gradle-profiler
.
w
yeah --debug is worth trying
sidenote: I can't wait until spring boot supports KSP so I can ditch kapt lol
s
Thanks guys. Let me try. It's just out my curiosity. Sometimes kapt works in mysterious way. Haha