Update dependencies

This commit is contained in:
世界
2026-02-16 13:10:06 +08:00
parent a7c18535e1
commit b389307448
5 changed files with 22 additions and 22 deletions

View File

@@ -183,8 +183,8 @@ dependencies {
// API level specific versions // API level specific versions
val lifecycleVersion23 = "2.10.0" val lifecycleVersion23 = "2.10.0"
val roomVersion23 = "2.8.4" val roomVersion23 = "2.8.4"
val workVersion23 = "2.11.0" val workVersion23 = "2.11.1"
val cameraVersion23 = "1.5.2" val cameraVersion23 = "1.5.3"
val browserVersion23 = "1.9.0" val browserVersion23 = "1.9.0"
val lifecycleVersion21 = "2.9.4" val lifecycleVersion21 = "2.9.4"
@@ -269,8 +269,8 @@ dependencies {
"otherLegacyImplementation"("com.github.topjohnwu.libsu:service:$libsuVersion") "otherLegacyImplementation"("com.github.topjohnwu.libsu:service:$libsuVersion")
// Compose dependencies - API 23+ (play/other) // Compose dependencies - API 23+ (play/other)
val composeBom23 = platform("androidx.compose:compose-bom:2026.01.01") val composeBom23 = platform("androidx.compose:compose-bom:2026.02.00")
val activityVersion23 = "1.12.2" val activityVersion23 = "1.12.4"
val lifecycleComposeVersion23 = "2.10.0" val lifecycleComposeVersion23 = "2.10.0"
"playImplementation"(composeBom23) "playImplementation"(composeBom23)
@@ -280,7 +280,7 @@ dependencies {
"playImplementation"("androidx.compose.ui:ui-tooling-preview") "playImplementation"("androidx.compose.ui:ui-tooling-preview")
"playImplementation"("androidx.compose.material:material-icons-extended") "playImplementation"("androidx.compose.material:material-icons-extended")
"playImplementation"("androidx.activity:activity-compose:$activityVersion23") "playImplementation"("androidx.activity:activity-compose:$activityVersion23")
"playImplementation"("androidx.navigation:navigation-compose:2.9.6") "playImplementation"("androidx.navigation:navigation-compose:2.9.7")
"playImplementation"("androidx.lifecycle:lifecycle-viewmodel-compose:$lifecycleComposeVersion23") "playImplementation"("androidx.lifecycle:lifecycle-viewmodel-compose:$lifecycleComposeVersion23")
"playImplementation"("androidx.compose.runtime:runtime-livedata") "playImplementation"("androidx.compose.runtime:runtime-livedata")
@@ -291,7 +291,7 @@ dependencies {
"otherImplementation"("androidx.compose.ui:ui-tooling-preview") "otherImplementation"("androidx.compose.ui:ui-tooling-preview")
"otherImplementation"("androidx.compose.material:material-icons-extended") "otherImplementation"("androidx.compose.material:material-icons-extended")
"otherImplementation"("androidx.activity:activity-compose:$activityVersion23") "otherImplementation"("androidx.activity:activity-compose:$activityVersion23")
"otherImplementation"("androidx.navigation:navigation-compose:2.9.6") "otherImplementation"("androidx.navigation:navigation-compose:2.9.7")
"otherImplementation"("androidx.lifecycle:lifecycle-viewmodel-compose:$lifecycleComposeVersion23") "otherImplementation"("androidx.lifecycle:lifecycle-viewmodel-compose:$lifecycleComposeVersion23")
"otherImplementation"("androidx.compose.runtime:runtime-livedata") "otherImplementation"("androidx.compose.runtime:runtime-livedata")
@@ -307,7 +307,7 @@ dependencies {
"otherLegacyImplementation"("androidx.compose.ui:ui-tooling-preview") "otherLegacyImplementation"("androidx.compose.ui:ui-tooling-preview")
"otherLegacyImplementation"("androidx.compose.material:material-icons-extended") "otherLegacyImplementation"("androidx.compose.material:material-icons-extended")
"otherLegacyImplementation"("androidx.activity:activity-compose:$activityVersion21") "otherLegacyImplementation"("androidx.activity:activity-compose:$activityVersion21")
"otherLegacyImplementation"("androidx.navigation:navigation-compose:2.9.6") "otherLegacyImplementation"("androidx.navigation:navigation-compose:2.9.7")
"otherLegacyImplementation"("androidx.lifecycle:lifecycle-viewmodel-compose:$lifecycleComposeVersion21") "otherLegacyImplementation"("androidx.lifecycle:lifecycle-viewmodel-compose:$lifecycleComposeVersion21")
"otherLegacyImplementation"("androidx.compose.runtime:runtime-livedata") "otherLegacyImplementation"("androidx.compose.runtime:runtime-livedata")
@@ -318,7 +318,7 @@ dependencies {
// Common Compose-related libraries // Common Compose-related libraries
implementation("sh.calvin.reorderable:reorderable:3.0.0") implementation("sh.calvin.reorderable:reorderable:3.0.0")
implementation("com.github.jeziellago:compose-markdown:0.5.4") implementation("com.github.jeziellago:compose-markdown:0.5.8")
implementation("org.kodein.emoji:emoji-kt:2.3.0") implementation("org.kodein.emoji:emoji-kt:2.3.0")
// Xposed API for self-hooking VPN hide module // Xposed API for self-hooking VPN hide module

View File

@@ -50,8 +50,9 @@ fun UpdateAvailableDialog(updateInfo: UpdateInfo, onDismiss: () -> Unit, onUpdat
Spacer(modifier = Modifier.height(12.dp)) Spacer(modifier = Modifier.height(12.dp))
MarkdownText( MarkdownText(
markdown = processedNotes, markdown = processedNotes,
style = MaterialTheme.typography.bodySmall, style = MaterialTheme.typography.bodySmall.copy(
color = MaterialTheme.colorScheme.onSurfaceVariant, color = MaterialTheme.colorScheme.onSurfaceVariant,
),
) )
} }
} }

View File

@@ -1,12 +1,12 @@
plugins { plugins {
id("com.android.application") version "9.0.0" apply false id("com.android.application") version "9.0.1" apply false
id("com.android.library") version "9.0.0" apply false id("com.android.library") version "9.0.1" apply false
id("org.jetbrains.kotlin.android") version "2.2.0" apply false id("org.jetbrains.kotlin.android") version "2.3.10" apply false
id("org.jetbrains.kotlin.plugin.parcelize") version "2.2.0" apply false id("org.jetbrains.kotlin.plugin.parcelize") version "2.3.10" apply false
id("com.google.devtools.ksp") version "2.2.0-2.0.2" apply false id("com.google.devtools.ksp") version "2.3.5" apply false
id("com.github.triplet.play") version "3.13.0" apply false id("com.github.triplet.play") version "4.0.0" apply false
id("org.jetbrains.kotlin.plugin.compose") version "2.2.0" apply false id("org.jetbrains.kotlin.plugin.compose") version "2.3.10" apply false
id("org.jetbrains.kotlin.plugin.serialization") version "2.2.0" apply false id("org.jetbrains.kotlin.plugin.serialization") version "2.3.10" apply false
alias(libs.plugins.spotless) apply false alias(libs.plugins.spotless) apply false
id("io.gitlab.arturbosch.detekt") version "1.23.8" id("io.gitlab.arturbosch.detekt") version "1.23.8"
} }

View File

@@ -21,7 +21,6 @@ kotlin.code.style=official
# resources declared in the library itself and none from the library's dependencies, # resources declared in the library itself and none from the library's dependencies,
# thereby reducing the size of the R class for that library # thereby reducing the size of the R class for that library
android.nonTransitiveRClass=true android.nonTransitiveRClass=true
# Workaround for gradle-play-publisher not supporting AGP 9.0 yet # Keep explicit Kotlin Gradle plugins enabled for current build scripts/plugins.
# See https://github.com/Triple-T/gradle-play-publisher/issues/1175
android.newDsl=false android.newDsl=false
android.builtInKotlin=false android.builtInKotlin=false

View File

@@ -22,5 +22,5 @@ android {
} }
dependencies { dependencies {
compileOnly("androidx.annotation:annotation:1.7.1") compileOnly("androidx.annotation:annotation:1.9.1")
} }