-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrate Glide from kapt to ksp, and remove kapt from project #13381
Conversation
162ee86
to
84e86f7
Compare
Thank you for this! Unfortunately it seems like this breaks reading pre-existing images. I believe this is because while the codegen stuff you linked to is deprecated, Glide still does officially use annotations for configuration. And we have lots of configuration stuff for storing images encrypted on disk and such. Glide has a ksp annotation processor, so I think we'd want to switch to that. I was messing around with it for a bit but wasn't quite able to get it to work and I didn't want to sink too much time into it, but I think that'd be the next step. |
Hey, @greyson-signal - thanks for checking this out! My original version of this PR did do the kapt -> ksp update, and I think I can add the ksp bit back in fairly easily. I had missed the annotations in the codebase. I do now see a couple of To align with you, what test did you perform to validate image functionality? I can do the same. I had run the |
This is great! I verified it works as well, thank you very much! Had a bit of a facepalm as well because I realized I failed to get ksp working earlier because I had accidentally added it to the This will go out in the 6.46 release 👍 |
(Also don't worry about the CI failure, I fixed that in the 6.46 branch) |
./gradlew qa --parallel passes locally now.
@greyson-signal Ah you know what, I'm pretty sure this build error is my fault. (Sorry, I've just realized I should be running Fixed in a34bd86 (Incidentally, I have to apply a small patch (#13382) to get the |
Contributor checklist
Fixes #1234
syntaxDescription
The goal of this PR is to replace kapt with ksp across the project. kapt is a legacy tool that slows down the build process.
The single user of kapt in the codebase right now is Glide. Glide supports KSP, but the KSP support does not extend to the deprecated Glide Code Generation API. So, the bulk of this PR is in migrating to the new Glide APIs as per the table below:
The work is broken up into three key commits: