Change Android SDK version

Proprietary

Change compileSdk, compileSdkVersion, targetSdk and targetSdkVersion in an Android Gradle build file to the argument version.

org.openrewrite.android.ChangeAndroidSdkVersion

Required

The version of the Android SDK to use.

mod run . --recipe=org.openrewrite.android.ChangeAndroidSdkVersion \ -P version=35

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