perf: update dependency
Some checks failed
Build-Apk / build (push) Has been cancelled

This commit is contained in:
lisonge 2024-08-14 22:09:36 +08:00
parent d41fb7f469
commit 56a356dc57
4 changed files with 3 additions and 6 deletions

View File

@ -29,7 +29,6 @@ plugins {
alias(libs.plugins.kotlin.compose) apply false
alias(libs.plugins.rikka.refine) apply false
alias(libs.plugins.jetbrains.kotlin.jvm) apply false
}
// can not work with Kotlin Multiplatform

View File

@ -10,7 +10,6 @@ ktor = "2.3.12"
hilt = "2.52"
destinations = "1.10.2"
coil = "2.7.0"
jetbrainsKotlinJvm = "2.0.10"
[libraries]
android_gradle = { module = "com.android.tools.build:gradle", version.ref = "android" }
@ -69,7 +68,7 @@ reorderable = { module = "sh.calvin.reorderable:reorderable", version = "2.3.0"
exp4j = { module = "net.objecthunter:exp4j", version = "0.4.8" }
toaster = { module = "com.github.getActivity:Toaster", version = "12.6" }
permissions = { module = "com.github.getActivity:XXPermissions", version = "18.63" }
json5 = { module = "io.github.lisonge:json5", version = "0.0.2" }
json5 = { module = "io.github.lisonge:json5", version = "0.0.3" }
[plugins]
android_library = { id = "com.android.library", version.ref = "android" }
@ -83,4 +82,3 @@ rikka_refine = { id = "dev.rikka.tools.refine", version.ref = "rikka" }
google_ksp = { id = "com.google.devtools.ksp", version.ref = "ksp" }
google_hilt = { id = "com.google.dagger.hilt.android", version.ref = "hilt" }
androidx_room = { id = "androidx.room", version.ref = "room" }
jetbrains-kotlin-jvm = { id = "org.jetbrains.kotlin.jvm", version.ref = "jetbrainsKotlinJvm" }

View File

@ -27,7 +27,7 @@ kotlin {
jvmTest {
dependencies {
implementation(libs.kotlinx.serialization.json)
implementation(libs.junit)
implementation(libs.kotlin.test)
}
}
}

View File

@ -6,12 +6,12 @@ import kotlinx.serialization.json.JsonNull
import kotlinx.serialization.json.booleanOrNull
import kotlinx.serialization.json.intOrNull
import li.songe.selector.parser.ParserSet
import org.junit.Test
import java.io.BufferedOutputStream
import java.io.File
import java.io.FileOutputStream
import java.net.URL
import java.util.zip.ZipInputStream
import kotlin.test.Test
class ParserTest {