Tag gradle
2 bookmarks have this tag.
2 bookmarks have this tag.
Debugging Gradle tasks can be challenging, especially when you have no access to tools like Develocity or need to work offline. This post shares a couple of strategies to help you gain more insight into your Gradle build.
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.