Annotation library in maven repo not working when implementing it

I have a project creating with ksp an annotation processor. It works fine in the tests in the parent project where the ksp(…) lives.
But when the lib is downloaded from repo… no code is generated. No matter if a put the annotationProcessor in the dependencies or not.
The lib is in the intellij “External Libraries” and in gradle tab in intellij and the META-INF/services/ file is there (what’s to java like if you want to use it in a multiplatform) the classes are there and nothing is generated.
Anything I’m missing?

At least to me it is far lengths unclear what you are asking exactly / what the situation is exactly.
Can you maybe provide an MCVE to make it clear what your situation is?