Might be an obvious question, but does annotation ...
# multiplatform
a
Might be an obvious question, but does annotation processing work with kotlin multiplatform or only JVM modules?
d
Annotation processing is based on APT, which is a Java tool. So it's only available for the JVM.
j
... 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. https://github.com/lightningkite/mirror-kotlin You'll be reading the 'kotlin_metadata' files AND the source files by hand.
g
One more way: use special JVM module that generates common Kotlin code and run it build before building depending platform modules