Skip to content

Commit

Permalink
Add build-spec-jdk to manifest.
Browse files Browse the repository at this point in the history
Fixes #177
  • Loading branch information
cstamas committed Sep 9, 2024
1 parent 6b148a0 commit 4ed8806
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@ private Iterable<ExtendedArchiveEntry> jarManifestSource(MavenProject project) t
main.putValue("Implementation-Title", project.getArtifactId());
main.putValue("Implementation-Version", project.getVersion());
main.putValue("Implementation-Vendor-Id", project.getGroupId());
main.putValue("Build-Jdk-Spec", System.getProperty("java.specification.version", "unknown"));

if (archive != null && archive.getManifestEntries() != null) {
for (Map.Entry<String, String> extra : archive.getManifestEntries().entrySet()) {
Expand Down

0 comments on commit 4ed8806

Please sign in to comment.