android-hilt
android-hilt copied to clipboard
KSP processor
Implement hilt-processor
as KSP processor (either in the same library, or as a separate hilt-processor-ksp
library).
The KSP processor should duplicate the functionality of the existing Kapt processor, but it should be managed by KSP instead.
Ticket for official KSP support for Hilt: https://issuetracker.google.com/issues/179057202
This is also an opportunity to properly refactor existing Kapt processor.
EDIT: Both processors use completely different means of visiting code structure and code generation. No point in refactoring Kapt processor, which will be deprecated as soon as Hilt KSP processor is ready.
Any reason you didn't implement it already? What are the current blockers to write a hilt extension using KSP?
Thanks for your question, @Kshitij09-sc
The main reason is me working on other projects. KSP simply wasn't high enough priority, as kapt is still necessary for projects using Hilt anyway.
I'll try to spend some time on this issue as soon as I get a bit less busy elsewhere.
v1.4.0 has been released.