For example, if a library supports Kotlin Native, ...
# multiplatform
d
For example, if a library supports Kotlin Native, does it necessarily support KMM?
b
Each kotlin target needs to be declared and published explicitly by the library author. e.g. JVM, linuxX64...
MpApt is not a library in this case, but a compiler plugin (via gradle plugin) that fully integrates with KMP plugin to support all kotlin target sourceSets (as opposed to jvm-only like kapt)
As for figuring out what platforms library supports, the easiest way currently is to have a look at library buildfile. I'm working on something better right now, but the progress is slow since I do not have as much time as I'd like :D
d
Thanks for the detailed answer!
So you don’t see a reason MpApt wouldn’t work with KMM?
b
No, it should work fine. Must be something with your config
Also MpApt is the only MPP annotation processor that I know of
d
MPP? What does that stand for?
b
MultiPlatformProject.
d
Thanks 🙂
b
A synonym for KMP basically