Update dependencies

This commit is contained in:
Rocka 2025-07-19 21:31:44 +08:00
parent e36100c448
commit 1858aff3e6
No known key found for this signature in database
GPG Key ID: 28031158FFDD6853
4 changed files with 7 additions and 6 deletions

View File

@ -140,7 +140,6 @@ dependencies {
androidTestImplementation(libs.junit)
}
@Suppress("UnstableApiUsage")
configurations {
all {
// remove Baseline Profile Installer or whatever it is...

View File

@ -88,7 +88,7 @@ object ClipboardManager : ClipboardManager.OnPrimaryClipChangedListener,
clbDb = Room
.databaseBuilder(context, ClipboardDatabase::class.java, "clbdb")
// allow wipe the database instead of crashing when downgrade
.fallbackToDestructiveMigrationOnDowngrade()
.fallbackToDestructiveMigrationOnDowngrade(dropAllTables = true)
.build()
clbDao = clbDb.clipboardDao()
enabledListener.onChange(enabledPref.key, enabledPref.getValue())

View File

@ -32,6 +32,8 @@ open class AndroidBaseConventionPlugin : Plugin<Project> {
compilerOptions {
// https://youtrack.jetbrains.com/issue/KT-55947
jvmTarget.set(JvmTarget.fromTarget(Versions.java.toString()))
// https://youtrack.jetbrains.com/issue/KT-73255/Change-defaulting-rule-for-annotations
freeCompilerArgs.add("-Xannotation-default-target=param-property")
}
}

View File

@ -1,12 +1,12 @@
[versions]
androidGradlePlugin = "8.11.0"
androidGradlePlugin = "8.11.1"
kotlin = "2.2.0"
ksp = "2.2.0-2.0.2"
lifecycle = "2.9.1"
navigation = "2.9.0"
lifecycle = "2.9.2"
navigation = "2.9.2"
room = "2.7.2"
splitties = "3.0.0"
aboutlibraries = "12.2.3"
aboutlibraries = "12.2.4"
arrow = "2.1.2"
[libraries]