Kotlinpoet is multiplatform? 😮 (false alarm, it has only the jvm target 😞, I thought I could use it in a js/ts project)
j
jw
09/12/2024, 11:43 AM
Maybe someday
jw
09/12/2024, 11:44 AM
You can still generate code that works on JS, but the generator has to run on the JVM
jw
09/12/2024, 11:44 AM
Do you actually have a need for the code generator to run on Node?
e
efemoney
09/12/2024, 11:58 AM
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