Monitoring the Health of a Gradle Build for a KMP Project
summary
A practical report on building a monitoring MVP for Gradle build health in a large Kotlin Multiplatform (KMP) project (million lines, Android+iOS, Compose Multiplatform) using a mix of open-source tools. The solution collects live build metrics from developer machines and CI with Talaiot → ClickHouse → Grafana, runs focused benchmarks with Gradle-Profiler plus custom analysis scripts, and adds lightweight profiling visualized in Perfetto; together these three components track Android debug builds (priority), IDE sync, and iOS builds. The talk covers real incidents prevented or diagnosed (antivirus-caused slowdowns, project-splitting ROI) and gives practical steps to deploy the same monitoring and to present build-optimization value to management.
AI-written summary · about
