{ Android | Kotlin } Gradle Plugin in 2026 — Preparing for AGP 1…
summary
Covers changes in Android Gradle Plugin (AGP) for 2026: AGP 9 embeds Kotlin so AGP now manages Kotlin/Gradle versions and KSP, and AGP 10 will remove opt‑outs that force migration away from Variant/DSL/internal APIs to the new Public API. Advises updating build logic and convention plugins to rely on AGP‑9’s built‑in Kotlin, rewrite plugins against the new public APIs because opt‑outs disappear in AGP 10, use com.android.kotlin.multiplatform.library (which moves Android config into the Kotlin block and disables resources, instrumented tests, AIDL, etc.), and note that AGP‑9 adds support for test fixtures.
AI-written summary · about
chapters (13)
- 0:00AGP and KGP in 2026
- 2:57Gradle lifecycle and caching
- 9:20Gradle build model
- 13:38Source sets and configs
- 21:24Plugin build models
- 22:48Kotlin/JVM plugin structure
- 24:54KMP build challenges
- 27:48KMP source set sharing
- 28:53AGP build variants
- 31:05AGP component API changes
- 32:50AGP 10 integration
- 35:18Test fixtures in AGP
- 36:43AGP 10 migration
related talks
21mWhat's new in Android Build
31mWhat's new in AGP 9.0 and beyond
11mWhat’s new in Android Gradle plugin
39mAndroid Gradle Plugin internals
34mWhat's new with the Android Gradle plugin
40mMake The Android Gradle Plugin Work For You
40mBetter Android Development with Kotlin & Gradle
56mDeep Dive into the Android Gradle Plugin
