Android Gradle Plugin internals
summary
Explains Android Gradle Plugin internals: configuration then execution phases, a new split API (one phase for capturing DSL so variants become immutable, another for registering tasks after variant finalization), publishing artifacts per-variant and mapping them by artifact types, and using Gradle artifact transforms to avoid building whole projects. Claims this reduces correctness bugs from mutable variants, migrates plugin code from Ruby to Java/Kotlin, and ships as canary features toward AGP 3.3.
AI-written summary · about
chapters (16)
- 0:00Intro
- 0:41Outline
- 1:36Using the AGP
- 2:06Phases of Build
- 6:02AGP Variant API
- 8:11AGP Configuration Phase
- 12:38AGP API Issues
- 14:30AGP API Going Forward
- 15:44AGP New API-Variant Creation
- 17:14AGP New API - Task Creation
- 19:24AGP New API-Buildable Artifacts
- 22:43AGP Tasks Wiring
- 23:08AGP Tasks - Within Project
- 24:04AGP Tasks - External Dependencies
- 25:14AGP Tasks - Inter-project
- 31:33If you are writing a plugin
related talks
56mDeep Dive into the Android Gradle Plugin
39m{ Android | Kotlin } Gradle Plugin in 2026 — Preparing for AGP 1…
21mWhat's new in Android Build
34mWhat's new with the Android Gradle plugin
11mWhat’s new in Android Gradle plugin
42mWriting your own Gradle Plugin: A Deep Dive
32mGradle Convention Plugins
26mGoodness, Gracious, Great Builds of Gradle
