We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c01db3b commit 49c4331Copy full SHA for 49c4331
Other/Other/reproducible.gradle.kts
@@ -0,0 +1,10 @@
1
+// Prevent the manifest from changing every build
2
+tasks.withType<Jar> {
3
+ manifest.attributes["Date"] = ""
4
+}
5
+
6
+// Prevent timestamps from appearing in JAR and use reproducible file order
7
+tasks.withType<AbstractArchiveTask> {
8
+ isPreserveFileTimestamps = false
9
+ isReproducibleFileOrder = true
10
0 commit comments