Replace deprecated Jetpack Compose methods

Proprietary

Replace deprecated Jetpack Compose method calls with their recommended replacements, based on @Deprecated(replaceWith=ReplaceWith(...)) annotations.

org.openrewrite.kotlin.compose.ReplaceDeprecatedComposeMethods
mod run . --recipe=org.openrewrite.kotlin.compose.ReplaceDeprecatedComposeMethods

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.

Recipe list

It runs these recipes, in this order.

  1. Replace deprecated runtime methods
  2. Replace deprecated material methods
  3. Replace deprecated material3 methods
  4. Replace deprecated animation-core methods