diff -r c09e94de5ec5 -r 01700c00999d gradle.rst --- a/gradle.rst Sun Dec 25 20:27:45 2022 +0200 +++ b/gradle.rst Sun Dec 25 20:33:39 2022 +0200 @@ -471,6 +471,11 @@ To increase security add ``distributionSha256Sum`` parameter to ``gradle-wrapper.properties`` file. Distribution SHA-256 sum can be obtained via ``shasum`` utility. +To depend on a distribution with bundled docs & sources use ``--distribution-type all`` (``bin`` is +by default):: + + ./gradlew wrapper --gradle-version 7.6 --distribution-type all + https://docs.gradle.org/current/userguide/gradle_wrapper.html Official docs.