gradle.rst
changeset 2545 01700c00999d
parent 2503 ef63c4afe404
child 2551 d22668f02ee6
--- 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.