kotlin-godot-wrapper
kotlin-godot-wrapper copied to clipboard
Generate classes.json via annotation processor
It should be possible to generate the classes.json file automatically.
One idea would to annotate classes intended for export with @gdclass or something, and then have a kap processor generate the json file.
@Wavesonics We're currently developing that in a fork.
Shouldn't be too long until it's ready.
But it isn't that easy as you described as kapt only works for jvm targets.
We developed an Compiler plugin so we can process the annotations. The code generation is currently under development.
I'll update this issue once we're done with it.
@chippmann whoa that's awesome! I don't have a ton of time right now, but if you guys are still going strong when I have some time I'd love to contribute.
@Wavesonics Feel free :-) Every help is appreciated.
Is there any progress for this issue? It would be cool to have it =-)
@StragaSevera We moved our development to https://github.com/utopia-rise/godot-kotlin as this project seems dead from the original maintainer. There we have the support implemented and lots of other cool features. But read the readme! We are currently developing a newer version of the binding there as well.