1 bookmark for 2025-02-07

52.

Stifle Hungry Tasks using BuildService

www.liutikas.net/2025/02/06/Stifle-Hungry-Tasks.html

Gradle will always parallelize tasks to the maximum possible degree, which might not always be desirable when tasks have extreme memory and/or CPU usage and end up starving the whole build out. Aurimas shares a great trick with Gradle BuildServices that lets tasks have a maximum parallelism.