Sfoglia il codice sorgente

common.gradle: add "Created-By" jar manifest to show Java version and vendor name (#1913)

* common.gradle: add Created-By in jar manifest to show java version used to create the jar.

* Also add vendor name.
Ali-RS 2 anni fa
parent
commit
76a55d5e73
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2 1
      common.gradle

+ 2 - 1
common.gradle

@@ -57,7 +57,8 @@ jar {
     manifest {
         attributes 'Implementation-Title': 'jMonkeyEngine',
                    'Implementation-Version': jmeFullVersion,
-                   'Automatic-Module-Name': "${project.name.replace("-", ".")}"
+                   'Automatic-Module-Name': "${project.name.replace("-", ".")}",
+                   'Created-By': "${JavaVersion.current()} (${System.getProperty("java.vendor")})"
     }
 }