be fancy about the manifest info 😎

This commit is contained in:
Aria Moradi 2021-05-04 00:15:31 +04:30
parent 4195e7056b
commit 14658a0c4d

View File

@ -140,9 +140,12 @@ tasks {
manifest { manifest {
attributes( attributes(
mapOf( mapOf(
"Main-Class" to MainClass, //will make your jar (produced by jar task) runnable "Main-Class" to MainClass,
"Implementation-Title" to rootProject.name, "Implementation-Title" to rootProject.name,
"Implementation-Version" to "$tachideskVersion-$tachideskRevision") "Implementation-Vendor" to "The Suwayomi Project",
"Specification-Version" to tachideskVersion,
"Implementation-Version" to tachideskRevision
)
) )
} }
} }
@ -199,7 +202,7 @@ tasks {
from(zipTree("$buildDir/OpenJDK8U-jre_x86-32_windows_hotspot_8u282b08.zip")) from(zipTree("$buildDir/OpenJDK8U-jre_x86-32_windows_hotspot_8u282b08.zip"))
into("$buildDir/${rootProject.name}-$tachideskVersion-$tachideskRevision-win32") into("$buildDir/${rootProject.name}-$tachideskVersion-$tachideskRevision-win32")
eachFile { eachFile {
path = path.replace(".*-jre".toRegex(),"jre") path = path.replace(".*-jre".toRegex(), "jre")
} }
dependsOn("downloadJre") dependsOn("downloadJre")
dependsOn("createExe") dependsOn("createExe")