I'm testing a very simple sample with kotlin-inject, and everything works including the codegen, however I can't reference any of the generated classes. For example if I have a
MainComponent
there is a generated
fun KClass<MainComponent>.create()
however I can't reference it from my code.
e
evant
11/11/2021, 5:14 AM
It should actually work, though it's missing IDE support https://github.com/google/ksp/issues/37. You can manually add the output dirs as source sets for now to get it to work (examples in the linked issue)
e
eygraber
11/11/2021, 6:23 AM
That did it, thanks! Kind of odd that KSP still doesn't support that