diff --git a/app/src/main/java/top/fumiama/copymanga/update/SimpleKanban.kt b/app/src/main/java/top/fumiama/copymanga/update/SimpleKanban.kt index ba5d384..68f0fba 100644 --- a/app/src/main/java/top/fumiama/copymanga/update/SimpleKanban.kt +++ b/app/src/main/java/top/fumiama/copymanga/update/SimpleKanban.kt @@ -47,7 +47,7 @@ class SimpleKanban(private val client: Client, private val pwd: String) { //mu operator fun get(version: Int): String = if(client.initConnect()) { - client.sendMessage("${pwd}get39quit") + client.sendMessage("${pwd}get${version}quit") client.receiveRawMessage(36) //Welcome to simple kanban server. get val r = try { val firstRecv = client.receiveRawMessage(4) diff --git a/gradle.properties b/gradle.properties index 4ab6d5d..8819a1c 100644 --- a/gradle.properties +++ b/gradle.properties @@ -22,4 +22,5 @@ kotlin.code.style=official android.enableR8.fullMode=true android.defaults.buildfeatures.buildconfig=true android.nonTransitiveRClass=false -android.nonFinalResIds=false \ No newline at end of file +android.nonFinalResIds=false +org.gradle.unsafe.configuration-cache=true \ No newline at end of file