mirror of
https://github.com/Suwayomi/TachideskJUI.git
synced 2025-12-10 06:42:05 +01:00
Update some dependencies
This commit is contained in:
@@ -4,11 +4,10 @@ object Config {
|
||||
const val migrationCode = 5
|
||||
|
||||
// Suwayomi-Server version
|
||||
const val tachideskVersion = "v1.0.0"
|
||||
const val tachideskVersion = "v2.1.1959"
|
||||
// Match this to the Suwayomi-Server commit count
|
||||
const val serverCode = 1498
|
||||
const val preview = false
|
||||
const val previewCommit = "54df9d634a1e83143a6cacf6206b6504721b6ca8"
|
||||
const val serverCode = 1959
|
||||
const val preview = true
|
||||
|
||||
val desktopJvmTarget = JvmTarget.JVM_17
|
||||
val androidJvmTarget = JvmTarget.JVM_17
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import Config.preview
|
||||
import Config.previewCommit
|
||||
import Config.serverCode
|
||||
import Config.tachideskVersion
|
||||
import de.undercouch.gradle.tasks.download.Download
|
||||
@@ -66,7 +65,7 @@ private fun isSigning(properties: Map<String, Any?>) = properties["compose.deskt
|
||||
|
||||
private const val tmpPath = "tmp"
|
||||
private val apiUrl = if (preview) {
|
||||
"https://api.github.com/repos/Suwayomi/Suwayomi-Server-preview/releases/tags/$previewCommit"
|
||||
"https://api.github.com/repos/Suwayomi/Suwayomi-Server-preview/releases/tags/$tachideskVersion"
|
||||
} else {
|
||||
"https://api.github.com/repos/Suwayomi/Suwayomi-Server/releases/tags/$tachideskVersion"
|
||||
}
|
||||
@@ -140,8 +139,8 @@ fun TaskContainerScope.registerTachideskTasks(project: Project) {
|
||||
.forEach {
|
||||
val tmpFile = macJarFolder / it.name
|
||||
it.copyTo(tmpFile)
|
||||
exec {
|
||||
commandLine(
|
||||
Runtime.getRuntime().exec(
|
||||
arrayOf(
|
||||
"/usr/bin/codesign",
|
||||
"-vvvv",
|
||||
"--timestamp",
|
||||
@@ -151,7 +150,7 @@ fun TaskContainerScope.registerTachideskTasks(project: Project) {
|
||||
"--sign", "Developer ID Application: ${getSigningIdentity()}",
|
||||
tmpFile.absolutePathString(),
|
||||
)
|
||||
}
|
||||
)
|
||||
|
||||
tmpFile.copyTo(it, overwrite = true)
|
||||
tmpFile.deleteExisting()
|
||||
|
||||
Reference in New Issue
Block a user