You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuweni.apache.org by to...@apache.org on 2019/08/26 05:25:54 UTC

[incubator-tuweni] 01/02: Make build reproducible

This is an automated email from the ASF dual-hosted git repository.

toulmean pushed a commit to branch 0.8
in repository https://gitbox.apache.org/repos/asf/incubator-tuweni.git

commit 8d66401cc8e7c68ee104eb8ec876595015b3eccc
Author: Antoine Toulme <an...@lunar-ocean.com>
AuthorDate: Sun Aug 25 21:03:17 2019 -0700

    Make build reproducible
---
 build.gradle | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/build.gradle b/build.gradle
index 02b4dc1..a4178ea 100644
--- a/build.gradle
+++ b/build.gradle
@@ -212,6 +212,11 @@ allprojects {
     }
   }
 
+  tasks.withType(AbstractArchiveTask) {
+    preserveFileTimestamps = false
+    reproducibleFileOrder = true
+  }
+
   tasks.withType(JavaCompile) {
     // Until https://github.com/gradle/gradle/issues/2510 is resolved and
     // something like a `releaseCompability` property is added, we have to add


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@tuweni.apache.org
For additional commands, e-mail: commits-help@tuweni.apache.org