arnaud.giuliani
11/05/2025, 4:36 PMResolver.getDeclarationsFromPackage() to scan annotations from other modules. It works in KSP 2.3.1 & Android apps (multi modules).
For KMP apps, it stops working since 2.1.20-1.0.31 & KSP1.
When switching to KSP2, other modules' annotations are not seen from the commonMain task. Seems to appear in the android detected element, where it should not (I'm scanning an element declared in commonMain generation).
This project uses KSP. The data module should allow to scan external module and associate them. The Data Module is not detected since KSP2 version.
I opened the issue => https://github.com/google/ksp/issues/2695 (sample project attached)
Let me know if it's a config problem. Any help is appreciated 🙂 🙏arnaud.giuliani
11/20/2025, 5:16 PMResolver.getDeclarationsFromPackage() in KMP usage? 👋