About --distribution-type all for Gradle.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Sun, 25 Dec 2022 20:33:39 +0200
changeset 2545 01700c00999d
parent 2544 c09e94de5ec5
child 2546 d1bb9d4ecb30
About --distribution-type all for Gradle.
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.