api / org.gradle.tooling / BuildController / getBuildModel

getBuildModel

abstract fun getBuildModel(): GradleBuild

Returns an overview of the Gradle build, including some basic details of the projects that make up the build. This is equivalent to calling #getModel(GradleBuild.class).

Return
The model.