GradleBuildTimeBreakdown

data class GradleBuildTimeBreakdown(@Json(name = "total") val total: Long, @Json(name = "initialization") val initialization: Long, @Json(name = "configuration") val configuration: Long? = null, @Json(name = "execution") val execution: Long? = null, @Json(name = "endOfBuild") val endOfBuild: Long? = null)

The build time breakdown of a Gradle build.

Parameters

total

Total duration of the build in milliseconds.

initialization

The elapsed time from the very start of the build to the moment when any kind of configuration starts in milliseconds.

configuration

The elapsed time to build plugins, execute build scripts, configure projects and create the task execution plan in milliseconds. null if the build failed before the configuration phase.

execution

The elapsed time from the start of the execution of the first task of the main build to the end of the execution of the last task of the main build in milliseconds. null if the build failed before the execution phase.

endOfBuild

The elapsed time from the end of the execution of the last task of the main build to the end of the build in milliseconds. null if there was no end of build phase. null if the build failed before the end of build phase.

Constructors

Link copied to clipboard
constructor(@Json(name = "total") total: Long, @Json(name = "initialization") initialization: Long, @Json(name = "configuration") configuration: Long? = null, @Json(name = "execution") execution: Long? = null, @Json(name = "endOfBuild") endOfBuild: Long? = null)

Properties

Link copied to clipboard
val configuration: Long? = null
Link copied to clipboard
val endOfBuild: Long? = null
Link copied to clipboard
val execution: Long? = null
Link copied to clipboard
Link copied to clipboard
val total: Long