Skip to content

Commit

Permalink
Add reproducible archive build config (#2947)
Browse files Browse the repository at this point in the history
  • Loading branch information
aSemy committed Mar 29, 2023
1 parent 3c3d2e4 commit e26fc06
Showing 1 changed file with 6 additions and 1 deletion.
Expand Up @@ -14,8 +14,13 @@ plugins {

val dokkaBuildProperties: DokkaBuildProperties = extensions.create(DokkaBuildProperties.EXTENSION_NAME)


if (project != rootProject) {
project.group = rootProject.group
project.version = rootProject.version
}

tasks.withType<AbstractArchiveTask>().configureEach {
// https://docs.gradle.org/current/userguide/working_with_files.html#sec:reproducible_archives
isPreserveFileTimestamps = false
isReproducibleFileOrder = true
}

0 comments on commit e26fc06

Please sign in to comment.