Hi, i’ve migrated Dagger 2 -> Hilt. I want to w...
# android
m
Hi, i’ve migrated Dagger 2 -> Hilt. I want to write a check/test/script/whatever to verify that all Android classes (Fragment/Activity/Service) have the newly needed @AndroidEntryPoint. Any ideas how?
😶 4
t
plugin compiler or KSP visitor
c
Sounds like a lint check to me
t
Yep. can be done as a lint too
m
I’m trying to add lint, but i get an annoying issue: 'android.support.design.widget' that cannot be safely rewritten But i’m not using any. do you guys know or have an example of how to?
By the way, I wrote a lint rule check just unable to add the library dependency at the moment.
c
are there any dependencies which still use a support library? use gradle to check the dependency tree
m
nop