Did not find any reference on that - all examples seem to be using KVM / Android code. Is it possible to use Poet for a native target?
Asked
Active
Viewed 213 times
1 Answers
1
KotlinPoet itself is built against Kotlin JVM and references JDK code, so you'll need Java to run it, however you can use KotlinPoet to generate platform-agnostic Kotlin code.

Egor
- 39,695
- 10
- 113
- 130
-
1This explains a number of things, thanks! – Andy Victors Dec 19 '21 at 17:25