Gradle F.A.Q. [EN]
Gradle Telegram CommunityWho are we?
We are a small and cozy community of experts who are working with Graadle. We write buildscripts, develop plugins, share our experience with others.
We kindly ask you to be nice to each other. Avoid swearing, insults, off-topic and other stuff which are not accepted in public communities. Links to pirated content are also strictly prohibited. Any violations can lead to warnings, temporary and permanent mutes and bans at moderator discretion.
Any suggestions on this F.A.Q. are accepted by @r4zzz4k with gratitude.
How can I analyze the time it takes to execute each build step for my project?
Gradle Build Scan is an official solution for this. It can be enabled via --scan command line flag. Gradle collects analytics during build phase, and when it's done, you get the link to build report.
Note that when you use free tier of Gradle Build Scan, you'll get public reports about your builds. Reports can contain sensitive information about the build, so this solution doesn't actually suit everyone.
As an alternative you can check out Talaiot Gradle plugin. It's open source, can send data to Grafana, renders task execution graphs, and has many other convenient features.
Thanks to Vladimir Sitnikov and Dmitriy Voronin for sharing the plugin!