Top Build Performance issues in Android projects - 2023 Edition
summary
Shows concrete causes and fixes for slow Android builds: repeated build caching misses from path sensitivity (KSP, Room), a JDK bug where URL.hashCode changes serialization so Dokka switches to URI, and Gradle 8.1’s stricter configuration cache inputs that required AGP 8.1.1/8.2 fixes for kapt. Demonstrates using Gradle Enterprise build scans and custom task input logging to find mismatched inputs, and new visibility into artifact transforms in GE 23.1 + Gradle 8.1 to trace previously invisible work.
AI-written summary · about
chapters (11)
- 0:00Introduction
- 1:47Why build speed matters
- 5:20Build caching fundamentals
- 8:50Common cache misses
- 12:42KSP and Room cache issues
- 18:30Java.net.URL cache miss
- 21:19Configuration cache debugging
- 24:28Gradle Enterprise APIs
- 27:19Flaky tests tracking
- 30:07Artifact transforms in scans
- 34:23Resources and Q&A








