Thanks for the general confirmation. I think, I just found "normal" problems with AGP + KGP, because this combination is "special" regarding the configuration lifecycle. I tried to get the dependencies before
afterEvaluate
but I guess, AGP/KGP adds some dependencies in afterEvaluate.