]> nmode's Git Repositories - signal-cli/commitdiff
Make lib module jar reproducible
authorAsamK <asamk@gmx.de>
Sat, 22 May 2021 11:34:59 +0000 (13:34 +0200)
committerAsamK <asamk@gmx.de>
Sat, 22 May 2021 11:34:59 +0000 (13:34 +0200)
lib/build.gradle.kts

index 4d0b58c995d0b08120cad39fcb5a45dfb965b605..0b385f82b2d5fca96186da498addc2e29a7c13d9 100644 (file)
@@ -26,6 +26,11 @@ configurations {
     }
 }
 
+tasks.withType<AbstractArchiveTask>().configureEach {
+    isPreserveFileTimestamps = false
+    isReproducibleFileOrder = true
+}
+
 tasks.withType<JavaCompile> {
     options.encoding = "UTF-8"
 }