Is there recommended way of generating JNI headers for external functions in kotlin?
1) javah: works with .class (so it's kotlin agnostic), but it is deprecated and manual (or need custom task) +--
2) javac -h: works with .java, generates redudant .class in process, manual ---