Time spent by gradle plugin per subproject?

Investigating a timeout for the sonar gradle task in the CI after 10 minutes of silence on a 8 core / 16G machine. Is there some good way of getting an overview of how much time sonar spends per subproject? Would like to rule out that some subproject is taking an asymetric amount of time vs its size due to some bug, or if it’s actually correct and it just needs a longer timeout. Code base is a couple of 100kloc across about 150 subprojects, and I have both detekt and coverage reported if that matters.


Can you provide the debug logs for your Gradle analysis?

The analysis / scanner log is what’s output from the analysis command. Hopefully, the log you provide - redacted as necessary - will include that command as well.

This guide will help you find them.