kotlin-godot-wrapper icon indicating copy to clipboard operation
kotlin-godot-wrapper copied to clipboard

Generate classes.json via annotation processor

Open Wavesonics opened this issue 5 years ago • 5 comments

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 avatar Jan 05 '20 06:01 Wavesonics

@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 avatar Jan 27 '20 11:01 chippmann

@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 avatar Jan 28 '20 03:01 Wavesonics

@Wavesonics Feel free :-) Every help is appreciated.

chippmann avatar Jan 28 '20 06:01 chippmann

Is there any progress for this issue? It would be cool to have it =-)

StragaSevera avatar May 04 '20 16:05 StragaSevera

@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.

chippmann avatar May 04 '20 16:05 chippmann