Включите Gradle configuration cache в своем проекте
Если вы еще не включили configuration cache, самое время это сделать. В твиттере делятся результатами – в проекте со 135 subprojects использование кеша сократило время сборки на 61-98%, с четырех минут до десятков секунд.
on a gradle android project with 135 subprojects, use of configuration caching made the build 61-98% faster (~4min to ~seconds). This is based on real-world observational data from our users via Gradle Enterprise, not benchmarking.