Skip to content

Commit

Permalink
reproducible builds
Browse files Browse the repository at this point in the history
  • Loading branch information
magicprinc committed Dec 2, 2023
1 parent b641eb3 commit fd0750a
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,15 @@ javadoc {
options.addBooleanOption('html5', true)
}

idea { module { downloadJavadoc = true; downloadSources = true } }
idea { module { downloadJavadoc = true; downloadSources = true } }

jar {
from generatePomFileForReleasePublication {
rename('pom-default.xml', "META-INF/maven/${project.group}/${project.name}/pom.xml")
}
}

tasks.withType(AbstractArchiveTask).configureEach {
preserveFileTimestamps = false
reproducibleFileOrder = true
}

0 comments on commit fd0750a

Please sign in to comment.