Android Agp9 R8 Gradle

Use when moving an Android build to Android Gradle Plugin 9 or fixing it after the move: removing the org.jetbrains.kotlin.android plugin for built-in Kotlin, replacing kapt with KSP or the legacy-kapt plugin, kotlinOptions to kotlin compilerOptions, kotlin source set directories, the new DSL and the removed variant API, the changed default gradle.properties flags, minimum Gradle JDK and Kotlin versions, enabling R8 and resource shrinking, proguard-android-optimize versus proguard-android, narrow keep rules, R8 full mode surprises, and Gradle build hygiene such as the plugins block, afterEvaluate and flags in gradle.properties.

techmefr Updated

File contents

techmefr/mentis commit b167c3e72d

Frequently asked questions

npx get-skill add techmefr/android-agp9-r8-gradle