Hi, one of the latest releases includes experimental support for KMP. Does this mean that I could generate code inside a Common module? If so, how would I do that?
t
Ting-Yuan Huang
07/19/2021, 4:25 AM
Yes. In the following sample project, the generated code for Common will be in
So I tried using the logger to see what was wrong with my processor (since it's not generating any common code), and it seems that the resolver can't find any declarations with a certain annotation. The annotation in question is located in a Common Kotlin module, could that be the problem?
Also, I tried manually locating a sample annotated class in the common module, and I can in fact retrieve an annotation with the appropriate name, but the annotation's type can't be resolved (yields something like [ERROR_TYPE] when converted to string for the logs).