Skip to content

Commit

Permalink
make ./gradlew verify downloaded code before executing it
Browse files Browse the repository at this point in the history
./gradlew will just download and execute the file in the distributionUrl
without any kind of verification.  This adds verification.

* https://docs.gradle.org/current/userguide/gradle_wrapper.html#sec:verification
* updates should be generated using --gradle-distribution-sha256-sum
  • Loading branch information
eighthave committed Feb 15, 2018
1 parent 417395a commit 16adb07
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gradle/wrapper/gradle-wrapper.properties
Expand Up @@ -4,3 +4,4 @@ distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip
distributionSha256Sum=5c07b3bac2209fbc98fb1fdf6fd831f72429cdf8c503807404eae03d8c8099e5

0 comments on commit 16adb07

Please sign in to comment.