---
title: "Gradle"
description: "3 posts about Gradle, summarised, each linking to the original."
---

# Gradle
> 3 posts about Gradle, summarised, each linking to the original.

## Articles

### [Kotlin 2.4.20 Released](https://yomu.fyi/post/kotlin-2-4-20-released.md)
- Company: [Jetbrains](https://yomu.fyi/company/jetbrains.md)
- Author: Daniel Csorba
- Published: Sep 7, 2026
- Type: Announcement

Kotlin 2.4.20 is released with updates spanning the standard library, Kotlin/Native, Kotlin/Wasm, Kotlin/JS, Gradle, build tools, and the compiler. The standard library adds coroutine stack trace recovery, collection equality and uniqueness checks, and new kotlin.test assertion overloads. Kotlin/Native gains Swift export features, improved incremental compilation, and generated Package.swift files, while Kotlin/Wasm adds Wasmtime support in the Kotlin Gradle plugin and changes to require() handling in @JsFun declarations. Kotlin/JS introduces a browser-testing DSL, suspend-lambda exports as async functions, and improved data-class exportability. The release also supports Gradle 9.7.0, adds Build tools API targets, and provides the kotlinr runner command and a separate native image; it is available through updated IDEs, build scripts, or the command-line compiler.


### [Scaling Android CI: From 44 → 10 minutes — A Deep Dive into Build Time Optimization and Best…](https://yomu.fyi/post/scaling-android-ci-from-44-10-minutes-a-deep-dive-into-build-time-opti.md)
- Company: [Swiggy](https://yomu.fyi/company/swiggy.md)
- Author: Pratik Sahu
- Published: Jul 10, 2026
- Type: Problem & solution

An Android monorepo’s CI pipeline averaged about 35 minutes in its build phase, with a P90 of roughly 44 minutes, as repeated dependency downloads, environment-driven invalidations, variant bloat, and machine limits increased work. The team reworked caching with branch- and architecture-aware keys, release/develop fallbacks, cached SDK and dependency data, and a Gradle Remote Cache, while filtering repositories and restricting CI to required variants. It also tuned 32GB runners to a 16GB heap and 12GB Metaspace, disabled configuration-cache saves in ephemeral CI, upgraded Kotlin, AGP 8.10.1, and Gradle 8.11.1, and moved critical workflows to Apple Silicon. Gradle tasks fell from 3399 to 2745, while remote-cache hit rates reached P50 44% and P90 56%. After the Apple Silicon refresh, total CI time reached P50 10 and P90 11 minutes, average credits per build dropped from 55 to 43, and a comparable rollout window saved about 5800 credits.


### [Scaling developer experience: How we improved Android Studio in a large monorepo](https://yomu.fyi/post/scaling-developer-experience-how-we-improved-android-studio-in-a-large.md)
- Company: [Grab](https://yomu.fyi/company/grab.md)
- Author: Rifqi Fahmi
- Published: May 15, 2026
- Type: Problem & solution

Grab’s passenger Android monorepo contains roughly 2,000 modules and 11 million lines of code, making Gradle-based Android Studio syncs increasingly slow and memory-intensive even though Bazel handles builds. A cold full sync could exceed 35 minutes, and a survey of 55 developers found that 82% wanted an option to exclude modules from syncing. The team built a custom Focus plugin that uses a dependency graph generated during migrateToBazel, avoids repeating Gradle’s configuration phase, and integrates with Android Studio through a one-click Select → Focus → Sync flow; a Groovy include-shadow technique avoids requiring teams to reorganize settings files. Typical focused syncs fell below two minutes, while reported results show reductions from 35 minutes to under one minute depending on module size, memory usage from 10 GB to 2 GB, and improved Compose preview updates, with broader IDE operations requiring expanded focus or full sync.
