Skip to content

Commit

Permalink
static
Browse files Browse the repository at this point in the history
  • Loading branch information
elharo committed Dec 2, 2024
1 parent 20e27e3 commit c36ee27
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,7 @@ private File createZipArchiveFromImage(File outputDirectory, File outputDirector
zipArchiver.addDirectory(outputDirectoryImage);

// configure for Reproducible Builds based on outputTimestamp value
Optional<Instant> lastModified = new MavenArchiver().parseBuildOutputTimestamp(outputTimestamp);
Optional<Instant> lastModified = MavenArchiver.parseBuildOutputTimestamp(outputTimestamp);
if (lastModified.isPresent()) {
zipArchiver.configureReproducibleBuild(FileTime.from(lastModified.get()));
}
Expand Down

0 comments on commit c36ee27

Please sign in to comment.