From 49f535176b0afd5e027fafbbf321854dd333bfbe Mon Sep 17 00:00:00 2001 From: lisonge Date: Sat, 5 Oct 2024 01:00:03 +0800 Subject: [PATCH] chore: update libs --- app/build.gradle.kts | 6 ++--- gradle/libs.versions.toml | 50 +++++++++++++++++++-------------------- 2 files changed, 28 insertions(+), 28 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index bb0f331..84bab5c 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -238,9 +238,9 @@ dependencies { implementation(libs.kotlinx.serialization.json) implementation(libs.kotlinx.collections.immutable) - implementation(libs.others.utilcodex) - implementation(libs.others.activityResultLauncher) - implementation(libs.others.floatingBubbleView) + implementation(libs.utilcodex) + implementation(libs.activityResultLauncher) + implementation(libs.floatingBubbleView) implementation(libs.destinations.core) ksp(libs.destinations.ksp) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index b82c2c4..441e529 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -12,11 +12,20 @@ coil = "2.7.0" shizuku = "13.1.5" [libraries] -android_gradle = { module = "com.android.tools.build:gradle", version.ref = "android" } kotlin_gradle_plugin = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlin" } kotlin_serialization = { module = "org.jetbrains.kotlin:kotlin-serialization", version.ref = "kotlin" } kotlin_stdlib_common = { module = "org.jetbrains.kotlin:kotlin-stdlib-common", version.ref = "kotlin" } kotlin_test = { module = "org.jetbrains.kotlin:kotlin-test", version.ref = "kotlin" } +kotlinx_serialization_json = { module = "org.jetbrains.kotlinx:kotlinx-serialization-json", version = "1.7.3" } +kotlinx_collections_immutable = { module = "org.jetbrains.kotlinx:kotlinx-collections-immutable", version = "0.3.8" } +ktor_server_core = { module = "io.ktor:ktor-server-core", version.ref = "ktor" } +ktor_server_cio = { module = "io.ktor:ktor-server-cio", version.ref = "ktor" } +ktor_server_content_negotiation = { module = "io.ktor:ktor-server-content-negotiation", version.ref = "ktor" } +ktor_client_core = { module = "io.ktor:ktor-client-core", version.ref = "ktor" } +ktor_client_okhttp = { module = "io.ktor:ktor-client-okhttp", version.ref = "ktor" } +ktor_client_content_negotiation = { module = "io.ktor:ktor-client-content-negotiation", version.ref = "ktor" } +ktor_serialization_kotlinx_json = { module = "io.ktor:ktor-serialization-kotlinx-json", version.ref = "ktor" } +android_gradle = { module = "com.android.tools.build:gradle", version.ref = "android" } compose_ui = { module = "androidx.compose.ui:ui", version.ref = "compose" } compose_preview = { module = "androidx.compose.ui:ui-tooling-preview", version.ref = "compose" } compose_tooling = { module = "androidx.compose.ui:ui-tooling", version.ref = "compose" } @@ -25,21 +34,11 @@ compose_icons = { module = "androidx.compose.material:material-icons-extended", compose_material3 = { module = "androidx.compose.material3:material3", version = "1.3.0" } compose_activity = { module = "androidx.activity:activity-compose", version = "1.9.2" } compose_navigation = { module = "androidx.navigation:navigation-compose", version = "2.8.2" } -tencent_mmkv = { module = "com.tencent:mmkv", version = "1.3.9" } -rikka_processor = { module = "dev.rikka.tools.refine:annotation-processor", version.ref = "rikka" } -rikka_annotation = { module = "dev.rikka.tools.refine:annotation", version.ref = "rikka" } -rikka_shizuku_api = { module = "dev.rikka.shizuku:api", version.ref = "shizuku" } -rikka_shizuku_provider = { module = "dev.rikka.shizuku:provider", version.ref = "shizuku" } -lsposed_hiddenapibypass = { module = "org.lsposed.hiddenapibypass:hiddenapibypass", version = "4.3" } -others_utilcodex = { module = "com.blankj:utilcodex", version = "1.31.1" } -others_activityResultLauncher = { module = "com.github.DylanCaiCoding:ActivityResultLauncher", version = "1.1.2" } -others_floatingBubbleView = { module = "io.github.torrydo:floating-bubble-view", version = "0.6.5" } androidx_appcompat = { module = "androidx.appcompat:appcompat", version = "1.7.0" } androidx_core_ktx = { module = "androidx.core:core-ktx", version = "1.13.1" } androidx_lifecycle_runtime_ktx = { module = "androidx.lifecycle:lifecycle-runtime-ktx", version = "2.8.6" } androidx_junit = { module = "androidx.test.ext:junit", version = "1.2.1" } androidx_espresso = { module = "androidx.test.espresso:espresso-core", version = "3.6.1" } -junit = { module = "junit:junit", version = "4.13.2" } androidx_room_runtime = { module = "androidx.room:room-runtime", version.ref = "room" } androidx_room_compiler = { module = "androidx.room:room-compiler", version.ref = "room" } androidx_room_ktx = { module = "androidx.room:room-ktx", version.ref = "room" } @@ -48,15 +47,13 @@ androidx_splashscreen = { module = "androidx.core:core-splashscreen", version = androidx_paging_runtime = { module = "androidx.paging:paging-runtime", version.ref = "paging" } androidx_paging_compose = { module = "androidx.paging:paging-compose", version.ref = "paging" } google_accompanist_drawablepainter = { module = "com.google.accompanist:accompanist-drawablepainter", version = "0.36.0" } -ktor_server_core = { module = "io.ktor:ktor-server-core", version.ref = "ktor" } -ktor_server_cio = { module = "io.ktor:ktor-server-cio", version.ref = "ktor" } -ktor_server_content_negotiation = { module = "io.ktor:ktor-server-content-negotiation", version.ref = "ktor" } -ktor_client_core = { module = "io.ktor:ktor-client-core", version.ref = "ktor" } -ktor_client_okhttp = { module = "io.ktor:ktor-client-okhttp", version.ref = "ktor" } -ktor_client_content_negotiation = { module = "io.ktor:ktor-client-content-negotiation", version.ref = "ktor" } -ktor_serialization_kotlinx_json = { module = "io.ktor:ktor-serialization-kotlinx-json", version.ref = "ktor" } -kotlinx_serialization_json = { module = "org.jetbrains.kotlinx:kotlinx-serialization-json", version = "1.7.3" } -kotlinx_collections_immutable = { module = "org.jetbrains.kotlinx:kotlinx-collections-immutable", version = "0.3.8" } +junit = { module = "junit:junit", version = "4.13.2" } +tencent_mmkv = { module = "com.tencent:mmkv", version = "1.3.9" } +rikka_processor = { module = "dev.rikka.tools.refine:annotation-processor", version.ref = "rikka" } +rikka_annotation = { module = "dev.rikka.tools.refine:annotation", version.ref = "rikka" } +rikka_shizuku_api = { module = "dev.rikka.shizuku:api", version.ref = "shizuku" } +rikka_shizuku_provider = { module = "dev.rikka.shizuku:provider", version.ref = "shizuku" } +lsposed_hiddenapibypass = { module = "org.lsposed.hiddenapibypass:hiddenapibypass", version = "4.3" } destinations_core = { module = "io.github.raamcosta.compose-destinations:core", version.ref = "destinations" } destinations_ksp = { module = "io.github.raamcosta.compose-destinations:ksp", version.ref = "destinations" } coil_compose = { module = "io.coil-kt:coil-compose", version.ref = "coil" } @@ -66,15 +63,18 @@ 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 = "li.songe:json5", version = "0.0.1" } +utilcodex = { module = "com.blankj:utilcodex", version = "1.31.1" } +activityResultLauncher = { module = "com.github.DylanCaiCoding:ActivityResultLauncher", version = "1.1.2" } +floatingBubbleView = { module = "io.github.torrydo:floating-bubble-view", version = "0.6.5" } [plugins] -android_library = { id = "com.android.library", version.ref = "android" } -android_application = { id = "com.android.application", version.ref = "android" } kotlin_serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin" } -kotlin_parcelize = { id = "org.jetbrains.kotlin.plugin.parcelize", version.ref = "kotlin" } kotlin_multiplatform = { id = "org.jetbrains.kotlin.multiplatform", version.ref = "kotlin" } kotlin_android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" } +kotlin_parcelize = { id = "org.jetbrains.kotlin.plugin.parcelize", version.ref = "kotlin" } kotlin_compose = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" } -rikka_refine = { id = "dev.rikka.tools.refine", version.ref = "rikka" } -google_ksp = { id = "com.google.devtools.ksp", version.ref = "ksp" } +android_library = { id = "com.android.library", version.ref = "android" } +android_application = { id = "com.android.application", version.ref = "android" } androidx_room = { id = "androidx.room", version.ref = "room" } +google_ksp = { id = "com.google.devtools.ksp", version.ref = "ksp" } +rikka_refine = { id = "dev.rikka.tools.refine", version.ref = "rikka" }