Move gradle config for reproducible builds into init.gradle file

This commit is contained in:
Jonas Herzig
2017-08-28 14:50:27 +02:00
parent 95fc9a5248
commit ad3ff3e8ef
20 changed files with 28 additions and 321 deletions

View File

@@ -13,7 +13,7 @@ new file mode 100644
index 0000000..22fa679
--- /dev/null
+++ b/build.gradle
@@ -0,0 +1,25 @@
@@ -0,0 +1,18 @@
+apply plugin: 'java'
+
+sourceCompatibility = 1.8
@@ -32,13 +32,6 @@ index 0000000..22fa679
+ }
+}
+
+tasks.withType(AbstractArchiveTask) {
+ preserveFileTimestamps = false
+ reproducibleFileOrder = true
+ dirMode = 0775
+ fileMode = 0664
+}
+
--
2.5.5