mirror of
https://github.com/tachiyomiorg/tachiyomi-extensions-inspector.git
synced 2025-01-12 16:59:08 +01:00
be fancy about the manifest info 😎
This commit is contained in:
parent
4195e7056b
commit
14658a0c4d
@ -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
|
||||||
|
)
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -155,9 +158,9 @@ tasks {
|
|||||||
withType<KotlinCompile> {
|
withType<KotlinCompile> {
|
||||||
kotlinOptions {
|
kotlinOptions {
|
||||||
freeCompilerArgs = listOf(
|
freeCompilerArgs = listOf(
|
||||||
"-Xopt-in=kotlin.RequiresOptIn",
|
"-Xopt-in=kotlin.RequiresOptIn",
|
||||||
"-Xopt-in=kotlinx.coroutines.ExperimentalCoroutinesApi",
|
"-Xopt-in=kotlinx.coroutines.ExperimentalCoroutinesApi",
|
||||||
"-Xopt-in=kotlinx.coroutines.InternalCoroutinesApi"
|
"-Xopt-in=kotlinx.coroutines.InternalCoroutinesApi"
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -174,10 +177,10 @@ tasks {
|
|||||||
|
|
||||||
register<Delete>("windowsPackageWorkaround2") {
|
register<Delete>("windowsPackageWorkaround2") {
|
||||||
delete(
|
delete(
|
||||||
"$buildDir/${rootProject.name}-$tachideskVersion-$tachideskRevision-win32/jre",
|
"$buildDir/${rootProject.name}-$tachideskVersion-$tachideskRevision-win32/jre",
|
||||||
"$buildDir/${rootProject.name}-$tachideskVersion-$tachideskRevision-win32/lib",
|
"$buildDir/${rootProject.name}-$tachideskVersion-$tachideskRevision-win32/lib",
|
||||||
"$buildDir/${rootProject.name}-$tachideskVersion-$tachideskRevision-win32/server.exe",
|
"$buildDir/${rootProject.name}-$tachideskVersion-$tachideskRevision-win32/server.exe",
|
||||||
"$buildDir/${rootProject.name}-$tachideskVersion-$tachideskRevision-win32/Tachidesk-$tachideskVersion-$tachideskRevision-win32/Tachidesk-$tachideskVersion-$tachideskRevision-win32"
|
"$buildDir/${rootProject.name}-$tachideskVersion-$tachideskRevision-win32/Tachidesk-$tachideskVersion-$tachideskRevision-win32/Tachidesk-$tachideskVersion-$tachideskRevision-win32"
|
||||||
)
|
)
|
||||||
dependsOn("windowsPackageWorkaround")
|
dependsOn("windowsPackageWorkaround")
|
||||||
}
|
}
|
||||||
@ -190,7 +193,7 @@ tasks {
|
|||||||
|
|
||||||
register<Delete>("deleteUnwantedJreDir") {
|
register<Delete>("deleteUnwantedJreDir") {
|
||||||
delete(
|
delete(
|
||||||
"$buildDir/${rootProject.name}-$tachideskVersion-$tachideskRevision-win32/jdk8u282-b08-jre"
|
"$buildDir/${rootProject.name}-$tachideskVersion-$tachideskRevision-win32/jdk8u282-b08-jre"
|
||||||
)
|
)
|
||||||
dependsOn("addJreToDistributable")
|
dependsOn("addJreToDistributable")
|
||||||
}
|
}
|
||||||
@ -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")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user