Gradle Build Analytics and Dependency Visualization

November 20, 2013 Update: The annotation-generator available on GitHub have been extended to now also leverage internal dependency information from Gradle – enabling interactive traversal through the dependency graph and additional reporting such as e.g. Longest Serial Chain and ElectricSimulator.

GradleWith the announcement from earlier this year that the Android Studio should feature Gradle as their supported build tool, the time is now ripe for Gradle to become adopted as a mainstream and standard technology for software builds.

In my explorations of the capabilities and behaviour of Gradle, I quickly found a lacking need for the proper and powerful build visualization and analytics that I have learned to get used to via ElectricInsight. There is a profiling feature in Gradle that produces table-based metrics which requires a fair amount of core understanding to appreciate and extract actionable value from.

Given this I decided to explore implementing a way to generate ElectricInsight-compatible annotation files from Gradle, with dependency management/visualization and performance reporting. Below is an ElectricInsight screenshot of the gradle build of Gradle itself that links to a repository on GitHub with more details and usage guidelines. It’s freely available for anyone through ElectricAccelerator Developer Edition – give it a try and let me know how it works!

Visualization of the gradle gradle build

David Rosen

David Rosen is a Solutions Engineer turned Product Manager turned Ecosystem Solutions Manager at Electric Cloud, currently focused on technical and strategic ISV partnerships in the Developer Productivity Tools, Continuous Delivery and DevOps space. With 12+ years of experience from the Enterprise Developer Tools space, David brings a wealth of hands-on technical experience and knowledge how software is developed and delivered at scale, across various industries, technical domains and geographical regions. David has held managing and engineering positions at UIQ Technology, Nokia and Telelogic. David holds a MS degree in Information Technology from Uppsala University, Sweden.

By continuing to browse or by dismissing this alert you agree to the storing of first- and third-party cookies on your device to enhance site navigation, analyze site usage, and assist in our marketing efforts. See privacy policy.