setDistributionSha256Sum

open fun setDistributionSha256Sum(@Nullable distributionSha256Sum: @Nullable String)(source)

The SHA-256 hash sum of the gradle distribution.

If not set, the hash sum of the gradle distribution is not verified.

The wrapper allows for verification of the downloaded Gradle distribution via SHA-256 hash sum comparison. This increases security against targeted attacks by preventing a man-in-the-middle attacker from tampering with the downloaded Gradle distribution.

Since

4.5