gradle
8.4

# setGradleVersion

open fun setGradleVersion(gradleVersion: String)(source)

The version of the gradle distribution required by the wrapper. This is usually the same version of Gradle you use for building your project. The following labels are allowed to specify a version: `latest`, `release-candidate`, `nightly`, and `release-nightly`

The resulting distribution url is validated before it is written to the gradle-wrapper.properties file.