Scaling developer experience: How we improved Android Studio in a large monorepo
Jul 24, 2026

Summary
This post details the development of a custom Gradle plugin and an accompanying Android Studio plugin to address slow IDE sync times in a large Android monorepo. The solution pre-computes dependency graphs during the Gradle-to-Bazel migration process, enabling selective module syncing. A Gradle plugin intercepts `settings.gradle`'s `include` calls to filter modules based on user selection, and an Android Studio plugin provides a UI for module selection and automatically injects necessary Gradle properties. This approach eliminates the need for manual Gradle property management and reduces sync times by focusing on only the required modules and their transitive dependencies.