Might be an obvious question, but does annotation processing work with kotlin multiplatform or only JVM modules?
11/23/2018, 1:29 PM
Annotation processing is based on APT, which is a Java tool. So it's only available for the JVM.
11/23/2018, 1:55 PM
... there's a way, if you're thinking about making a plugin.
It's straight-up hackery, and it's really manual, but I've done it.
You'll be reading the 'kotlin_metadata' files AND the source files by hand.
11/23/2018, 4:32 PM
One more way: use special JVM module that generates common Kotlin code and run it build before building depending platform modules