Oh well done I did not managed to use libgdx yet only the Slick2D and
LWJGL stuff.
I think Caue mentioned something along the lines of your code comment
// this is important,
// in haxe you cannot access java interfaces' static members,
// they are hidden inside a subclass CLASSNAME_Statics,
// must know trick, hope
// it will be fixed soon if not already fixed.
But I had not really understanding the implications in regard to getting
libgdx running.
I would like to avoid gradle dependency did you try running it with an
hxml file only?
Gradle seems a typical example of Java trying to make stuff simple and
ending up making more things to learn, maybe it's a lot better than
older approaches but still not a fan. I started looking at trying to get
a complex as3 Flashdevelop project to build with gradle and it's not at
all clear how to set stuff up.
But FDBuild ( a cross platform terminal tool from flashdevelop ) seemed
much simpler but I did not manage to call it from hxml file.
I was wondering if maybe a better haxe approach to adopting target
specific approaches might be to port FDBuild to haxe ( remove dependency
of Mono to allow it to be neko or... ) and make sure it can handle
libgdx etc... I notice FDBuild has a dependency on some classes in
ProjectManager, but ProjectManager is also full of visual non terminal
aspects - it would be ideal if they were abstracted out of
ProjectManager. Anyway I guess I should start a new thread.
Once again well done on Libgdx did you manage to get some haxe libgdx
running on mobile?