Kotlinpoet is multiplatform? :open_mouth: (false a...
# squarelibraries
e
Kotlinpoet is multiplatform? 😮 (false alarm, it has only the jvm target 😞, I thought I could use it in a js/ts project)
j
Maybe someday
You can still generate code that works on JS, but the generator has to run on the JVM
Do you actually have a need for the code generator to run on Node?
e
No, not necessary to run on node nor generate kotlin js. I am trying to update our style dictionary build to generate better kotlin (it does simple templating today … yuck!). I was going to run on the jvm via kotlin script but when I put the kotlinpoet dependency it didint resolve until I added
-jvm
suggesting it was multiplatform 👍🏾