What do you want to do? Measure build time once? Monitor it continuously? Verify that your build is efficient?
For
measuring build time, IJ will show you how long the build took, and if you build from command line the last lines of the output will tell you time the build took. For more details:
• You can use Gradle Build Scan to get a web-based overview of the project’s build, including some performance indicators and statistics:
https://docs.gradle.org/current/userguide/inspect.html
• Android Studio has an insights tab when building, which may point out some build issues and inefficiencies
• There is
https://github.com/gradle/gradle-profiler if you want to analyse clean build times, verify some changes impact on build times etc.