I believe I read this is now possible in M11, but I am having errors like this with gradle:
e: C:cygwin64homebrand_000LWJake2srclwjake2gameentity_state_t.kt: (30, 7): Unresolved reference: edict_t
But edict_t is defined in LWJake2srclwjake2gameedict_t.java:
public class edict_t {
/** Constructor. */
public edict_t(int i) {
s.number = i;
index = i;
}
…
My gradle file is posted along with the rest of the repo here, if it helps (not too long, but not sure what might be relevant as yet):
https://github.com/bbarker/LWJake2/tree/initKotlin
That said, this build.gradle is probably a bit far from being fully functional, if I had to guess; the working Ant build.xml is also in the directory.