I have the following multi module project (see image) which works just fine. Sources are beeing generated/added and the app works just fine.
Now I wanted to use the processor in a new app, and added
A,
B and
C to the project, using
implementation(files("libs/B.aar"))
implementation(files("libs/A.jar"))
ksp(files("libs/C.jar"))
I'm getting the following error during kspDebugKotlin:
java.lang.NoClassDefFoundError: _*Class from module A*_
What am I doing wrong?
EDIT:
When adding
A and
B to
KSP like so:
ksp(files("libs/C.jar", "libs/A.jar", "libs/B.aar")
It does find the class from module
A. Now it is still missing a dependency which is used in
A and my current project.
EDIT 2:
After adding every dependency with
ksp() it is working now.