From 3edb7ab165e2c22f01f7b1fd4701f88def32151a Mon Sep 17 00:00:00 2001 From: Paulo Dias Date: Thu, 1 Feb 2024 11:31:17 +0000 Subject: [PATCH] build.gradle: Added to manifests 'Build-Jdk' property. --- build.gradle | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build.gradle b/build.gradle index 1c81d7f3aa..4473944d79 100644 --- a/build.gradle +++ b/build.gradle @@ -284,6 +284,7 @@ allprojects { 'Build-Revision': "${rootProject.name}-${project.version}-git#${-> project.ext.gitProps['git.commit.id.describe']}", 'Built-By': "${System.properties['user.name']}", 'Built-On': "${new Date()}", + 'Build-Jdk': "${System.properties['java.version']} (${System.properties['java.vendor']} ${System.properties['java.vm.version']})", ) } archiveVersion = '' @@ -828,6 +829,7 @@ task buildWorldmapBundleJar(type: Jar) { 'Build-Revision': "${rootProject.name}-${project.version}-git#${-> project.ext.gitProps['git.commit.id.describe']}", 'Built-By': "${System.properties['user.name']}", 'Built-On': "${new Date()}", + 'Build-Jdk': "${System.properties['java.version']} (${System.properties['java.vendor']} ${System.properties['java.vm.version']})", 'Main-Class': 'pt.lsts.neptus.app.tiles.WorldMapPanel', ) } @@ -915,6 +917,7 @@ task buildCheckBundleJar(type: Jar) { 'Build-Revision': "${rootProject.name}-${project.version}-git#${-> project.ext.gitProps['git.commit.id.describe']}", 'Built-By': "${System.properties['user.name']}", 'Built-On': "${new Date()}", + 'Build-Jdk': "${System.properties['java.version']} (${System.properties['java.vendor']} ${System.properties['java.vm.version']})", 'Main-Class': 'pt.lsts.neptus.gui.checklist.ChecklistPanel', ) }