Generate files based on annotation
Hello
I have this class:
I would like to add an annotation like
@GenerateProFile("packet.proto")
to generate the protobuf files associate to the class definition.
However I don't know where to start. Should I create KSP module, a gradle plugin, etc.
Do you have any advices and (maybe) example to know how to start14 Replies
that's KSP yeah
is this really the right server for this question?
Hum .. There are lot of experts here 🥲 That's why, but I can send in kordex if it's more appropriate
it wouldn't be more appropriate there either
aren't you on the kotlin server or ayfri's french kotlin server?
kotlin server? The slack?
no, kotlin discord, the one I run
I mean I don't particularly care if you ask stuff here, but I don't think you should get used to using this server for general kotlin help when there are general kotlin spaces
Kotlin Discord UG I imagine?
yeah
Yeah that's what I call Kordex
that's not the kordex server
the kordex server is https://discord.gg/nYzQWcjAmK
Well I will ask there so 😄
you have your answer already
that's KSP
Do you have an example? Because the tutorial of Jetbrains is .. mhee
Solution
Thanks !