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 {
attributes(
mapOf(
"Main-Class" to MainClass, //will make your jar (produced by jar task) runnable
"Main-Class" to MainClass,
"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"))
into("$buildDir/${rootProject.name}-$tachideskVersion-$tachideskRevision-win32")
eachFile {
path = path.replace(".*-jre".toRegex(),"jre")
path = path.replace(".*-jre".toRegex(), "jre")
}
dependsOn("downloadJre")
dependsOn("createExe")