Build-Jdk into manifest

only:proteus_f7
This commit is contained in:
rusEFI LLC 2024-11-01 12:18:30 -04:00
parent 95b8135916
commit d991f73dec
4 changed files with 9 additions and 1 deletions

View File

@ -43,6 +43,7 @@ jar {
manifest {
attributes(
'Main-Class': 'com.rusefi.autoupdate.Autoupdate',
'Build-Jdk' : "${System.properties['java.version']} (${System.properties['java.vendor']} ${System.properties['java.vm.version']})",
'Built-Date': new Date().toString()
)
}

View File

@ -33,6 +33,7 @@ shadowJar {
manifest {
attributes(
'Build-Jdk' : "${System.properties['java.version']} (${System.properties['java.vendor']} ${System.properties['java.vm.version']})",
'Main-Class': 'com.rusefi.Launcher'
)
}

View File

@ -20,6 +20,7 @@ jar {
manifest {
attributes(
'Built-Date': new Date().format('yyyy-MM-dd HH:mm:ss'),
'Build-Jdk' : "${System.properties['java.version']} (${System.properties['java.vendor']} ${System.properties['java.vm.version']})",
'Signature-Vendor': 'rusEFI LLC',
)
}
@ -31,4 +32,4 @@ shadowJar {
manifest {
inheritFrom project.tasks.jar.manifest
}
}
}

View File

@ -24,10 +24,15 @@ def userHome = System.properties['user.home']
jar {
archiveBaseName = jarName
def projectToolchain = java.toolchain {
languageVersion = JavaLanguageVersion.of(11)
}
manifest {
attributes(
'Built-Date': new Date().format('yyyy-MM-dd HH:mm:ss'),
'Signature-Vendor': 'rusEFI LLC',
'Build-Jdk' : "${System.properties['java.version']} (${System.properties['java.vendor']} ${System.properties['java.vm.version']})",
'ApplicationPlugin': 'com.rusefi.ts_plugin.TsPluginLauncher'
)
}