Upgrade Android Gradle Plugin version

MSAL

Upgrade the Android Gradle Plugin (AGP) version. Handles both the legacy buildscript { dependencies { classpath 'com.android.tools.build:gradle:...' } } form (delegating to the upstream UpgradeDependencyVersion recipe for full DSL coverage) and the modern plugins { id("com.android.application") version "..." } form.

org.openrewrite.android.UpgradeAndroidGradlePluginVersion

Required

An exact version number or node-style semver selector used to select the version number.

Optional

Allows version selection to be extended beyond the original Node Semver semantics.

mod run . --recipe=org.openrewrite.android.UpgradeAndroidGradlePluginVersion \ -P newVersion=8.5.0

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. Upgrade Gradle dependency versions com.android.tools.build:gradle