Find deprecated Context.getColor/getDrawable/getColorStateList calls
ProprietaryThe single-argument forms on Context/Resources are deprecated — they don't take a theme and behave inconsistently across API levels. Use ContextCompat.getColor(context, id)/ContextCompat.getDrawable(context, id)/AppCompatResources.getColorStateList(context, id) instead.
org. openrewrite. kotlin. android. FindDeprecatedResourceGetters$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. android. FindDeprecatedResourceGetters$KtRecipe'Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.