Hi! I was trying to migrate kotlinx-benchmark (its JVM part actually) to KTC plugin. Until stumbled over a silly problem: JMH generates additional Java sources based on compiled Kotlin/JVM classes. So there is a need in additional round of compilation. So I wonder, what is a canonical KTC way to solve the problem (not necessarily now, maybe in plans)?
There are workarounds to this problem including creating additional modules, running KTC from KTC (like it is made in
github.com/Heapy/ktc-benchmark), or running Java compiler from KTC. But actually, I don't like these hacky ways. That's why the question above.