chore: update dependency

This commit is contained in:
lisonge 2024-05-06 18:17:06 +08:00
parent 26c75d0d67
commit 07c299c9f3
3 changed files with 13 additions and 13 deletions

View File

@ -72,7 +72,7 @@ import li.songe.gkd.util.subsItemsFlow
import li.songe.gkd.util.subsRefreshingFlow
import li.songe.gkd.util.toast
import sh.calvin.reorderable.ReorderableItem
import sh.calvin.reorderable.rememberReorderableLazyColumnState
import sh.calvin.reorderable.rememberReorderableLazyListState
val subsNav = BottomNavItem(
label = "订阅", icon = Icons.AutoMirrored.Filled.FormatListBulleted
@ -265,7 +265,7 @@ fun useSubsManagePage(): ScaffoldExt {
) { padding ->
val lazyListState = rememberLazyListState()
val reorderableLazyColumnState =
rememberReorderableLazyColumnState(lazyListState) { from, to ->
rememberReorderableLazyListState(lazyListState) { from, to ->
orderSubItems = orderSubItems.toMutableList().apply {
add(to.index, removeAt(from.index))
forEachIndexed { index, subsItem ->

View File

@ -5,14 +5,14 @@ compileSdk = "34"
targetSdk = "34"
buildToolsVersion = "34.0.0"
minSdk = "26"
android = "8.3.2"
compose = "1.6.6"
composeCompiler = "1.5.12"
android = "8.4.0"
compose = "1.6.7"
composeCompiler = "1.5.13"
rikka = "4.4.0"
room = "2.6.1"
paging = "3.2.1"
ktor = "2.3.9"
hilt = "2.51"
ktor = "2.3.10"
hilt = "2.51.1"
destinations = "1.10.2"
coil = "2.6.0"
@ -28,7 +28,7 @@ compose_junit4 = { module = "androidx.compose.ui:ui-test-junit4", version.ref =
compose_icons = { module = "androidx.compose.material:material-icons-extended", version.ref = "compose" }
compose_material3 = { module = "androidx.compose.material3:material3", version = "1.2.1" }
compose_activity = { module = "androidx.activity:activity-compose", version = "1.9.0" }
tencent_mmkv = { module = "com.tencent:mmkv", version = "1.3.4" }
tencent_mmkv = { module = "com.tencent:mmkv", version = "1.3.5" }
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 = "13.1.5" }
@ -37,9 +37,9 @@ lsposed_hiddenapibypass = { module = "org.lsposed.hiddenapibypass:hiddenapibypas
others_utilcodex = { module = "com.blankj:utilcodex", version = "1.31.1" }
others_activityResultLauncher = { module = "com.github.DylanCaiCoding:ActivityResultLauncher", version = "1.1.2" }
others_jankson = { module = "blue.endless:jankson", version = "1.2.3" }
others_floating_bubble_view = { module = "io.github.torrydo:floating-bubble-view", version = "0.6.4" }
others_floating_bubble_view = { module = "io.github.torrydo:floating-bubble-view", version = "0.6.5" }
androidx_appcompat = { module = "androidx.appcompat:appcompat", version = "1.6.1" }
androidx_core_ktx = { module = "androidx.core:core-ktx", version = "1.13.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.7.0" }
androidx_junit = { module = "androidx.test.ext:junit", version = "1.1.5" }
androidx_espresso = { module = "androidx.test.espresso:espresso-core", version = "3.5.1" }
@ -60,7 +60,7 @@ ktor_client_okhttp = { module = "io.ktor:ktor-client-okhttp", version.ref = "kto
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.6.3" }
kotlinx_collections_immutable = { module = "org.jetbrains.kotlinx:kotlinx-collections-immutable", version = "0.3.6" }
kotlinx_collections_immutable = { module = "org.jetbrains.kotlinx:kotlinx-collections-immutable", version = "0.3.7" }
google_hilt_android = { module = "com.google.dagger:hilt-android", version.ref = "hilt" }
google_hilt_android_compiler = { module = "com.google.dagger:hilt-android-compiler", version.ref = "hilt" }
androidx_hilt_navigation_compose = { module = "androidx.hilt:hilt-navigation-compose", version = "1.2.0" }
@ -68,7 +68,7 @@ destinations_core = { module = "io.github.raamcosta.compose-destinations:core",
destinations_ksp = { module = "io.github.raamcosta.compose-destinations:ksp", version.ref = "destinations" }
coil_compose = { module = "io.coil-kt:coil-compose", version.ref = "coil" }
coil_gif = { module = "io.coil-kt:coil-gif", version.ref = "coil" }
reorderable = { module = "sh.calvin.reorderable:reorderable", version = "1.5.2" }
reorderable = { module = "sh.calvin.reorderable:reorderable", version = "2.0.1" }
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" }

View File

@ -1,6 +1,6 @@
#Wed Oct 13 10:13:24 CST 2021
distributionBase=GRADLE_USER_HOME
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
distributionPath=wrapper/dists
zipStorePath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME