Commit 5c9fab2f authored by Vladimir Sitnikov's avatar Vladimir Sitnikov
Browse files

Make build jars reproducible

fixes asm/asm#317879
parent 91291d09
Pipeline #6071 passed with stage
in 11 minutes and 30 seconds
......@@ -38,6 +38,16 @@ plugins { id 'org.sonarqube' version '2.7.1' apply false }
description = 'ASM, a very small and fast Java bytecode manipulation framework'
allprojects {
tasks.withType(AbstractArchiveTask).configureEach {
// Ensure builds are reproducible (see https://reproducible-builds.org/ )
preserveFileTimestamps = false
reproducibleFileOrder = true
dirMode = Integer.parseInt("775", 8)
fileMode = Integer.parseInt("664", 8)
}
}
subprojects {
repositories { mavenCentral() }
apply plugin: 'java'
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment