Dropbox
Dropbox logoDropbox · Feature trail

Gradle Build Performance Optimization

2 posts · Nov 2020 – Mar 2022

What this trail covers

Dropbox is actively working on improving build performance for large monorepos, particularly for Android development. This includes developing and open-sourcing tools and plugins that allow engineers to focus on specific modules, reducing IDE sync times and overall build times. The goal is to enable faster iteration cycles and improve developer productivity by minimizing the amount of code Gradle and Android Studio need to process. This post details how the team reduced CI runtime from an average of 75 minutes to 25 minutes by optimizing Gradle, offloading work to Firebase Test Lab, and rearchitecting CI jobs for parallelism, specifically by implementing an Affected Module Detector to run only necessary tests.

All Dropbox trails