Move gradle config for reproducible builds into init.gradle file
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user