Hi,
I know that using Kotlin is Bndtools projects is problematic, mainly due to "ephemeral" form of class files generated by Kotlin plugin [1][2]. I've thought of a workaround: running a dummy program, which forces Kotlin compiler to dump the class files to the filesystem, and forcing Bndtools to rebuild the bundle, now with the dumped Kotlin class files.
This is of course very fragile, but considering little interest in the linked feature request, I assume this is the only way to use Kotlin inside Bndtools bundles.
Any idea what might go wrong, before I sink into — very pleasant in itself, I have to admit — process of writing larger portions of code in Kotlin?
BTW, in the issue text Peter mentions of using Kotlin in Bndtools. Is it in some planning phase, or do you guys have some concrete ideas in mind (e.g. some Kotlin-specific stuff in enRoute?)
Przemek
[1]:
https://youtrack.jetbrains.com/issue/KT-10361[2]:
http://stackoverflow.com/questions/36248021/output-folder-of-the-kotlin-compiler-in-eclipse