> In a multiplatform project, Kotlin compilatio...
# kotlin-inject
e
In a multiplatform project, Kotlin compilation may happen multiple times (main, test, or other build flavors) for each platform. So is symbol processing. A symbol processing task is created whenever there is a Kotlin compilation task and a corresponding
ksp<Target>
or
ksp<SourceSet>
configuration is specified.
you may want to play around with it, I haven't explored it fully. How I would hope it would work is that you could target source sets directly so there's a 1-1 correspondence to directories and generated code.