build.gradle: strip timestamps from JARs

This aims to make our build reprodicible.
This commit is contained in:
Andreas Schildbach 2023-09-16 14:27:37 +02:00
parent b8d2521c12
commit 7605fa9535

View File

@ -52,6 +52,11 @@ protobuf {
}
}
tasks.withType(AbstractArchiveTask) {
preserveFileTimestamps = false
reproducibleFileOrder = true
}
tasks.withType(Test) {
exclude 'org/bitcoinj/net/discovery/DnsDiscoveryTest*'
testLogging {