Hello all :wave: we observed problem since KSP2, f...
# ksp
a
Hello all 👋 we observed problem since KSP2, for scanning annotations in KMP multi modules app. The Koin Annotations project uses
Resolver.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 🙂 🙏
👀 1
Anyone experiencing issue with
Resolver.getDeclarationsFromPackage()
in KMP usage? 👋