Skip to content

Commit

Permalink
Work on reproducible builds
Browse files Browse the repository at this point in the history
  • Loading branch information
NeRdTheNed committed Jun 12, 2023
1 parent 24b71bd commit c356a1e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ plugins {
id 'maven-publish'
}

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

// Defines a Java 17 compatible JDK.
def compiler = javaToolchains.compilerFor {
languageVersion = JavaLanguageVersion.of(17)
Expand Down

0 comments on commit c356a1e

Please sign in to comment.