Skip to content

Commit 76a55d5

Browse files
authored
common.gradle: add "Created-By" jar manifest to show Java version and vendor name (jMonkeyEngine#1913)
* common.gradle: add Created-By in jar manifest to show java version used to create the jar. * Also add vendor name.
1 parent b0e6ce7 commit 76a55d5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

common.gradle

+2-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ jar {
5757
manifest {
5858
attributes 'Implementation-Title': 'jMonkeyEngine',
5959
'Implementation-Version': jmeFullVersion,
60-
'Automatic-Module-Name': "${project.name.replace("-", ".")}"
60+
'Automatic-Module-Name': "${project.name.replace("-", ".")}",
61+
'Created-By': "${JavaVersion.current()} (${System.getProperty("java.vendor")})"
6162
}
6263
}
6364

0 commit comments

Comments
 (0)