fix: address analysis issues - remove unused import, fix deprecated APIs, update test

This commit is contained in:
fiatcode 2026-04-30 11:40:56 +07:00
parent 85249acc84
commit 07bae466cf
No known key found for this signature in database
32 changed files with 1550 additions and 75 deletions

View file

@ -1,8 +1,8 @@
plugins {
id("com.android.application")
id("kotlin-android")
// The Flutter Gradle Plugin must be applied after the Android and Kotlin Gradle plugins.
id("dev.flutter.flutter-gradle-plugin")
id("com.google.devtools.ksp")
}
android {
@ -11,6 +11,7 @@ android {
ndkVersion = flutter.ndkVersion
compileOptions {
isCoreLibraryDesugaringEnabled = true
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
@ -44,11 +45,13 @@ flutter {
}
dependencies {
implementation("androidx.room:room-runtime:2.5.0")
implementation("androidx.room:room-ktx:2.5.0")
coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:2.0.4")
implementation("androidx.room:room-runtime:2.6.1")
implementation("androidx.room:room-ktx:2.6.1")
implementation("com.google.android.gms:play-services-location:21.0.1")
implementation("androidx.work:work-runtime:2.8.0")
implementation("androidx.work:work-runtime:2.8.1")
implementation("androidx.appcompat:appcompat:1.6.1")
implementation("androidx.lifecycle:lifecycle-service:2.6.2")
kapt("androidx.room:room-compiler:2.5.0")
implementation("com.squareup.okhttp3:okhttp:4.12.0")
ksp("androidx.room:room-compiler:2.6.1")
}