I have a problem with how to use my KSP processor properly: I couldn't figure out how to get IntelliJ recognize the generated code.
The processor works, the code is generated and works, the project compiles and runs.
But whatever I did I couldn't make IntelliJ recognize the generated code. Everything is red in the editor.
I've created an example project which has this problem. If anyone wiser in the ways of KSP would let me know what I do wrong I would be eternally grateful.
https://github.com/spxbhuhb/z2-rpc-example
Hm, adding the last block helps. Setting the dependencies for ksp like you have (only common) breaks the compilation.
That said, the last block removes the most important problems, thank you for that.