You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/configuration/reproducible-builds/README.md
+10-3Lines changed: 10 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,9 @@
1
1
# Reproducible Builds
2
2
3
-
By default, JAR files generated by Gradle (with or without Shadow) for a single project with the same source code may not be identical to each other. Sometimes it's desirable to configure a project to consistently output a byte-for-byte identical JAR on every build. Gradle supports this with the following configuration, and Shadow will correctly respect these settings too:
3
+
By default, JAR files generated by Gradle (with or without Shadow) for a single project with the same source code may
4
+
not be identical to each other. Sometimes it's desirable to configure a project to consistently output a byte-for-byte
5
+
identical JAR on every build. Gradle supports this with the following configuration, and Shadow will correctly respect
6
+
these settings too:
4
7
5
8
=== "Kotlin"
6
9
@@ -20,6 +23,10 @@ By default, JAR files generated by Gradle (with or without Shadow) for a single
20
23
}
21
24
```
22
25
23
-
One effect that this configuration will have is that the timestamps of all files in the JAR will be reset to a single consistent value. If your code or any files being included into the JAR depend on the timestamps being set accurately within the JAR, then this may not be the correct choice for you.
26
+
One effect that this configuration will have is that the timestamps of all files in the JAR will be reset to a single
27
+
consistent value. If your code or any files being included into the JAR depend on the timestamps being set accurately
28
+
within the JAR, then this may not be the correct choice for you.
24
29
25
-
See the [Reproducible archives section in Gradle's documentation](https://docs.gradle.org/4.9/userguide/working_with_files.html#sec:reproducible_archives) for more information.
30
+
See
31
+
the [Reproducible archives section in Gradle's documentation](https://docs.gradle.org/4.9/userguide/working_with_files.html#sec:reproducible_archives)
0 commit comments