Stifle Hungry Tasks using BuildService
www.liutikas.net/2025/02/06/Stifle-Hungry-Tasks.htmlGradle 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.