Gradle: Generate reproducible archives

This commit is contained in:
str4d
2019-04-21 18:09:20 +00:00
parent 278870606b
commit 967dde4395
2 changed files with 10 additions and 0 deletions

View File

@ -82,6 +82,11 @@ configure(javaProjects) {
sourceCompatibility = 1.7 sourceCompatibility = 1.7
targetCompatibility = 1.7 targetCompatibility = 1.7
tasks.withType(AbstractArchiveTask) {
preserveFileTimestamps = false
reproducibleFileOrder = true
}
def i2pBootClasspath def i2pBootClasspath
// Set java7BootClasspath=/path/to/rt.jar:/path/to/jce.jar in ~/.gradle/gradle.properties if needed // Set java7BootClasspath=/path/to/rt.jar:/path/to/jce.jar in ~/.gradle/gradle.properties if needed
if (java7BootClasspath) { if (java7BootClasspath) {

View File

@ -1,3 +1,8 @@
2019-04-21 str4d
* Gradle:
- Adjust dependencies to match Tomcat and Jetty updates
- Generate reproducible archives
2019-04-17 zzz 2019-04-17 zzz
* Transport: More fixes for NTCP when SSU disabled (ticket #1417) * Transport: More fixes for NTCP when SSU disabled (ticket #1417)