代码优化

This commit is contained in:
HapeLee
2026-05-13 21:22:44 +08:00
parent 4beeb2d4f6
commit 876f1370ec
21 changed files with 126200 additions and 331 deletions
+26 -18
View File
@@ -1,27 +1,27 @@
[versions]
accompanistWebview = "0.36.0"
adaptive = "1.3.0-alpha10"
adaptiveLayout = "1.3.0-alpha10"
adaptiveNavigation = "1.3.0-alpha10"
animation = "1.10.6"
adaptive = "1.3.0-beta01"
adaptiveLayout = "1.3.0-beta01"
adaptiveNavigation = "1.3.0-beta01"
animation = "1.11.1"
biometric = "1.4.0-alpha06"
coilCompose = "2.7.0"
composeBom = "2026.03.01"
composeBom = "2026.05.00"
constraintlayoutCompose = "1.1.1"
coreSplashscreen = "1.2.0"
datastorePreferences = "1.2.1"
foundation = "1.10.6"
foundation = "1.11.1"
kotlin = "2.3.10"
kotlinxSerialization = "1.10.0"
kotlinxSerialization = "1.11.0"
kotlinxCoroutinesAndroid = "1.10.2"
kotlinxSerializationJson = "1.10.0"
kotlinxSerializationJson = "1.11.0"
kotlinxCollectionsImmutable = "0.4.0"
ksp = "2.3.6"
agp = "9.1.1"
agp = "9.2.1"
appcompat = "1.7.1"
colorpicker = "1.1.0"
colorpicker-compose = "1.1.3"
colorpicker-compose = "1.1.4"
commonsText = "1.15.0"
constraintlayout = "2.2.1"
core = "1.18.0"
@@ -34,7 +34,7 @@ hutool = "5.8.22"
libarchive = "1.1.6"
lifecycle = "2.10.0"
glide = "5.0.5"
glide = "5.0.7"
gson = "2.13.2"
jsonPath = "2.10.0"
# issue #3811,不要更新版本,新版引入了一个破坏性变更(详见https://github.com/jhy/jsoup/pull/2017
@@ -44,17 +44,17 @@ jsoupxpath = "2.5.3"
coroutines = "1.10.2"
lifecycleViewmodelCompose = "2.10.0"
liveeventbus = "1.8.14"
navigation3 = "1.0.1"
navigation3 = "1.1.1"
markdownCompose = "0.5.0"
markwon = "4.6.2"
material = "1.14.0-beta01"
material3 = "1.5.0-alpha17"
material = "1.14.0-rc01"
material3 = "1.5.0-alpha19"
material3IconsExtended = "1.7.8"
materialKolor = "4.1.1"
media = "1.7.1"
media3 = "1.8.0"
nanoHttpd = "2.3.1"
navigationCompose = "2.9.7"
navigationCompose = "2.9.8"
okhttp = "5.3.2"
palette = "1.0.0"
preference = "1.2.1"
@@ -74,21 +74,25 @@ recyclerview = "1.4.0"
#noinspection GradleDependency
uiViewbinding = "1.9.4"
viewpager2 = "1.1.0"
webkit = "1.15.0"
webkit = "1.16.0"
collection = "1.6.0"
zxingLite = "3.3.0"
koin-bom = "4.2.0"
koin-bom = "4.2.1"
biometricKtx = "1.1.0"
reorderable = "3.0.0"
reorderable = "3.1.0"
haze = "1.7.2"
timber = "5.0.1"
miuix = "0.9.0"
backdrop = "1.0.6"
capsule = "2.1.3"
lyricViewx = "1.3.2"
uiautomator = "2.3.0"
benchmarkMacroJunit4 = "1.4.1"
baselineprofile = "1.4.1"
profileinstaller = "1.4.1"
[libraries]
accompanist-webview = { module = "com.google.accompanist:accompanist-webview", version.ref = "accompanistWebview" }
@@ -260,6 +264,9 @@ miuix-ui-android = { module = "top.yukonga.miuix.kmp:miuix-ui-android", version.
capsule = { module = "io.github.kyant0:capsule", version.ref = "capsule" }
backdrop = { module = "io.github.kyant0:backdrop", version.ref = "backdrop" }
lyricViewx = { module = "com.github.Moriafly:LyricViewX", version.ref = "lyricViewx" }
androidx-uiautomator = { group = "androidx.test.uiautomator", name = "uiautomator", version.ref = "uiautomator" }
androidx-benchmark-macro-junit4 = { group = "androidx.benchmark", name = "benchmark-macro-junit4", version.ref = "benchmarkMacroJunit4" }
androidx-profileinstaller = { group = "androidx.profileinstaller", name = "profileinstaller", version.ref = "profileinstaller" }
[bundles]
coroutines = ["kotlinx-coroutines-core", "kotlinx-coroutines-android"]
@@ -291,3 +298,4 @@ room = { id = "androidx.room", version.ref = "room" }
#protobuf = { id = "com.google.protobuf", version = "0.9.4" }
download = { id = "de.undercouch.download", version = "5.6.0" }
baselineprofile = { id = "androidx.baselineprofile", version.ref = "baselineprofile" }
+1 -1
View File
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-9.3.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-9.4.1-all.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME