api / org.gradle.tooling.model / GradleProject / getBuildScript

getBuildScript

abstract fun getBuildScript(): GradleScript

Returns the build script for this project.

Exceptions

UnsupportedMethodException - For Gradle versions older than 1.8, where this method is not supported.

Return
The build script.

Since
1.8