Dead code - Remove the manual sort screen, unreachable since sorting moved into the album screen, with its route, strings, reorder repository/DAO methods and the reorderable dependency. - Remove unused parameters, defaults, typography styles and constants. UI - Share the settings card, selectable grid card, wallpaper grid, back top bar, album cover, snackbar effect and onboarding button instead of keeping copies per screen; move shared pieces to common/components. - HomeViewModel owns the duplicate album name rule and exposes only the animate flag; WallpaperViewViewModel exposes its own route arguments. - The wallpaper viewer title shows the decoded file name. - The empty library uses the same empty state as albums and folders. Data and services - Keep document-provider scanning next to AndroidDocumentSource and return SourceImage directly. - Define preference keys where they are used; query the current wallpaper once. - Use runCatchingCancellable for the remaining hand-written rethrows. Live wallpaper - Draw the crossfade without the always-opaque alpha helper and drop redundant program binds, guards and dead stores. - Stop checking GL errors after deletes, which threw stale errors from cleanup and leaked tiles. - A crashed GL thread refuses queued events instead of holding them.
61 lines
4.3 KiB
TOML
61 lines
4.3 KiB
TOML
[versions]
|
|
androidGradlePlugin = "9.3.2"
|
|
kotlin = "2.4.10"
|
|
hilt = "2.60.1"
|
|
ksp = "2.3.12"
|
|
material = "1.14.0"
|
|
coil = "3.6.3"
|
|
|
|
[libraries]
|
|
androidx-activity-compose = { module = "androidx.activity:activity-compose", version = "1.13.0" }
|
|
androidx-animation = { module = "androidx.compose.animation:animation" }
|
|
androidx-compose-bom = { module = "androidx.compose:compose-bom", version = "2026.08.00" }
|
|
androidx-core-ktx = { module = "androidx.core:core-ktx", version = "1.19.1" }
|
|
androidx-core-splashscreen = { module = "androidx.core:core-splashscreen", version = "1.2.0" }
|
|
androidx-datastore-preferences = { module = "androidx.datastore:datastore-preferences", version = "1.2.1" }
|
|
androidx-documentfile = { module = "androidx.documentfile:documentfile", version = "1.1.0" }
|
|
androidx-espresso-core = { module = "androidx.test.espresso:espresso-core", version = "3.7.0" }
|
|
androidx-exifinterface = { module = "androidx.exifinterface:exifinterface", version = "1.4.2" }
|
|
androidx-foundation = { module = "androidx.compose.foundation:foundation" }
|
|
androidx-hilt-navigation-compose = { module = "androidx.hilt:hilt-navigation-compose", version = "1.4.0" }
|
|
androidx-hilt-work = { module = "androidx.hilt:hilt-work", version = "1.4.0" }
|
|
androidx-hilt-compiler = { module = "androidx.hilt:hilt-compiler", version = "1.4.0" }
|
|
androidx-junit = { module = "androidx.test.ext:junit", version = "1.3.0" }
|
|
androidx-lifecycle-runtime-compose = { module = "androidx.lifecycle:lifecycle-runtime-compose", version = "2.11.0" }
|
|
androidx-lifecycle-runtime-ktx = { module = "androidx.lifecycle:lifecycle-runtime-ktx", version = "2.11.0" }
|
|
androidx-lifecycle-process = { module = "androidx.lifecycle:lifecycle-process", version = "2.11.0" }
|
|
androidx-material-icons-extended = { module = "androidx.compose.material:material-icons-extended" }
|
|
# v4 uses Material 3 expressive APIs that are not available in the stable 1.4 line.
|
|
# Keep this known-good alpha pinned until the expressive API reaches stable.
|
|
androidx-material3 = { module = "androidx.compose.material3:material3", version = "1.5.0-beta01" }
|
|
androidx-navigation-compose = { module = "androidx.navigation:navigation-compose", version = "2.10.2" }
|
|
androidx-profileinstaller = { module = "androidx.profileinstaller:profileinstaller", version = "1.4.1" }
|
|
androidx-room-ktx = { module = "androidx.room:room-ktx", version = "2.8.5" }
|
|
androidx-room-compiler = { module = "androidx.room:room-compiler", version = "2.8.5" }
|
|
androidx-room-runtime = { module = "androidx.room:room-runtime", version = "2.8.5" }
|
|
androidx-ui = { module = "androidx.compose.ui:ui" }
|
|
androidx-ui-graphics = { module = "androidx.compose.ui:ui-graphics" }
|
|
androidx-ui-test-junit4 = { module = "androidx.compose.ui:ui-test-junit4" }
|
|
androidx-ui-test-manifest = { module = "androidx.compose.ui:ui-test-manifest" }
|
|
androidx-ui-tooling = { module = "androidx.compose.ui:ui-tooling" }
|
|
androidx-ui-tooling-preview = { module = "androidx.compose.ui:ui-tooling-preview" }
|
|
androidx-work-runtime-ktx = { module = "androidx.work:work-runtime-ktx", version = "2.11.2" }
|
|
coil-compose = { module = "io.coil-kt.coil3:coil-compose", version.ref = "coil" }
|
|
coil-gif = { module = "io.coil-kt.coil3:coil-gif", version.ref = "coil" }
|
|
coil-svg = { module = "io.coil-kt.coil3:coil-svg", version.ref = "coil" }
|
|
google-material = { module = "com.google.android.material:material", version.ref = "material" }
|
|
hilt-android = { group = "com.google.dagger", name = "hilt-android", version.ref = "hilt" }
|
|
hilt-android-compiler = { group = "com.google.dagger", name = "hilt-android-compiler", version.ref = "hilt" }
|
|
junit = { module = "junit:junit", version = "4.13.2" }
|
|
mockk = { module = "io.mockk:mockk", version = "1.14.11" }
|
|
kotlinx-coroutines-test = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-test", version = "1.11.0" }
|
|
kotlinx-serialization-json = { module = "org.jetbrains.kotlinx:kotlinx-serialization-json", version = "1.11.0" }
|
|
zoomable = { module = "net.engawapg.lib:zoomable", version = "2.13.0" }
|
|
|
|
[plugins]
|
|
androidApplication = { id = "com.android.application", version.ref = "androidGradlePlugin" }
|
|
kotlinCompose = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" }
|
|
hiltAndroid = { id = "com.google.dagger.hilt.android", version.ref = "hilt" }
|
|
ksp = { id = "com.google.devtools.ksp", version.ref = "ksp" }
|
|
kotlinSerialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin" }
|