@hadilq I believe there is a Lint for it in AGP but I can't check for its name right now.

If your project already uses catalogs then trying to add a String-ly typed dependency should trigger the Lint in Android Studio and give you the name.