522 lines
19 KiB
XML
522 lines
19 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<issues format="6" by="lint 9.1.1" type="baseline" client="gradle" dependencies="false" name="AGP (9.1.1)" variant="all" version="9.1.1">
|
|
|
|
<issue
|
|
id="RedundantLabel"
|
|
message="Redundant label can be removed"
|
|
errorLine1=" android:label="@string/app_name""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/AndroidManifest.xml"
|
|
line="20"
|
|
column="13"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="AndroidGradlePluginVersion"
|
|
message="A newer version of Gradle than 9.3.1 is available: 9.5.1"
|
|
errorLine1="distributionUrl=https\://services.gradle.org/distributions/gradle-9.3.1-bin.zip"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="$HOME/Code/Kordant/android/Kordant/gradle/wrapper/gradle-wrapper.properties"
|
|
line="5"
|
|
column="17"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="AndroidGradlePluginVersion"
|
|
message="A newer version of com.android.application than 9.1.1 is available: 9.2.1"
|
|
errorLine1="agp = "9.1.1""
|
|
errorLine2=" ~~~~~~~">
|
|
<location
|
|
file="$HOME/Code/Kordant/android/Kordant/gradle/libs.versions.toml"
|
|
line="2"
|
|
column="7"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="GradleDependency"
|
|
message="A newer version of androidx.core:core-ktx than 1.10.1 is available: 1.18.0"
|
|
errorLine1="coreKtx = "1.10.1""
|
|
errorLine2=" ~~~~~~~~">
|
|
<location
|
|
file="$HOME/Code/Kordant/android/Kordant/gradle/libs.versions.toml"
|
|
line="3"
|
|
column="11"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="GradleDependency"
|
|
message="A newer version of androidx.test.ext:junit than 1.1.5 is available: 1.3.0"
|
|
errorLine1="junitVersion = "1.1.5""
|
|
errorLine2=" ~~~~~~~">
|
|
<location
|
|
file="$HOME/Code/Kordant/android/Kordant/gradle/libs.versions.toml"
|
|
line="5"
|
|
column="16"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="GradleDependency"
|
|
message="A newer version of androidx.test.espresso:espresso-core than 3.5.1 is available: 3.7.0"
|
|
errorLine1="espressoCore = "3.5.1""
|
|
errorLine2=" ~~~~~~~">
|
|
<location
|
|
file="$HOME/Code/Kordant/android/Kordant/gradle/libs.versions.toml"
|
|
line="6"
|
|
column="16"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="GradleDependency"
|
|
message="A newer version of androidx.lifecycle:lifecycle-runtime-ktx than 2.6.1 is available: 2.10.0"
|
|
errorLine1="lifecycleRuntimeKtx = "2.6.1""
|
|
errorLine2=" ~~~~~~~">
|
|
<location
|
|
file="$HOME/Code/Kordant/android/Kordant/gradle/libs.versions.toml"
|
|
line="7"
|
|
column="23"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="GradleDependency"
|
|
message="A newer version of androidx.activity:activity-compose than 1.8.0 is available: 1.13.0"
|
|
errorLine1="activityCompose = "1.8.0""
|
|
errorLine2=" ~~~~~~~">
|
|
<location
|
|
file="$HOME/Code/Kordant/android/Kordant/gradle/libs.versions.toml"
|
|
line="8"
|
|
column="19"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="GradleDependency"
|
|
message="A newer version of androidx.navigation:navigation-compose than 2.7.7 is available: 2.9.8"
|
|
errorLine1="navigationCompose = "2.7.7""
|
|
errorLine2=" ~~~~~~~">
|
|
<location
|
|
file="$HOME/Code/Kordant/android/Kordant/gradle/libs.versions.toml"
|
|
line="9"
|
|
column="21"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="GradleDependency"
|
|
message="A newer version of androidx.compose:compose-bom than 2025.12.00 is available: 2026.05.01"
|
|
errorLine1="composeBom = "2025.12.00""
|
|
errorLine2=" ~~~~~~~~~~~~">
|
|
<location
|
|
file="$HOME/Code/Kordant/android/Kordant/gradle/libs.versions.toml"
|
|
line="11"
|
|
column="14"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="GradleDependency"
|
|
message="A newer version of androidx.security:security-crypto than 1.1.0-alpha06 is available: 1.1.0"
|
|
errorLine1="securityCrypto = "1.1.0-alpha06""
|
|
errorLine2=" ~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="$HOME/Code/Kordant/android/Kordant/gradle/libs.versions.toml"
|
|
line="13"
|
|
column="18"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="GradleDependency"
|
|
message="A newer version of com.google.android.gms:play-services-auth than 21.0.0 is available: 21.5.1"
|
|
errorLine1="playServicesAuth = "21.0.0""
|
|
errorLine2=" ~~~~~~~~">
|
|
<location
|
|
file="$HOME/Code/Kordant/android/Kordant/gradle/libs.versions.toml"
|
|
line="15"
|
|
column="20"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="GradleDependency"
|
|
message="A newer version of androidx.work:work-runtime-ktx than 2.9.1 is available: 2.11.2"
|
|
errorLine1="work = "2.9.1""
|
|
errorLine2=" ~~~~~~~">
|
|
<location
|
|
file="$HOME/Code/Kordant/android/Kordant/gradle/libs.versions.toml"
|
|
line="23"
|
|
column="8"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="GradleDependency"
|
|
message="A newer version of androidx.work:work-testing than 2.9.1 is available: 2.11.2"
|
|
errorLine1="work = "2.9.1""
|
|
errorLine2=" ~~~~~~~">
|
|
<location
|
|
file="$HOME/Code/Kordant/android/Kordant/gradle/libs.versions.toml"
|
|
line="23"
|
|
column="8"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewerVersionAvailable"
|
|
message="A newer version of org.jetbrains.kotlin.plugin.compose than 2.2.10 is available: 2.3.21"
|
|
errorLine1="kotlin = "2.2.10""
|
|
errorLine2=" ~~~~~~~~">
|
|
<location
|
|
file="$HOME/Code/Kordant/android/Kordant/gradle/libs.versions.toml"
|
|
line="10"
|
|
column="10"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewerVersionAvailable"
|
|
message="A newer version of org.jetbrains.kotlin.plugin.serialization than 2.2.10 is available: 2.3.21"
|
|
errorLine1="kotlin = "2.2.10""
|
|
errorLine2=" ~~~~~~~~">
|
|
<location
|
|
file="$HOME/Code/Kordant/android/Kordant/gradle/libs.versions.toml"
|
|
line="10"
|
|
column="10"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewerVersionAvailable"
|
|
message="A newer version of com.squareup.okhttp3:logging-interceptor than 4.12.0 is available: 5.3.2"
|
|
errorLine1="okhttp = "4.12.0""
|
|
errorLine2=" ~~~~~~~~">
|
|
<location
|
|
file="$HOME/Code/Kordant/android/Kordant/gradle/libs.versions.toml"
|
|
line="16"
|
|
column="10"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewerVersionAvailable"
|
|
message="A newer version of com.squareup.okhttp3:okhttp than 4.12.0 is available: 5.3.2"
|
|
errorLine1="okhttp = "4.12.0""
|
|
errorLine2=" ~~~~~~~~">
|
|
<location
|
|
file="$HOME/Code/Kordant/android/Kordant/gradle/libs.versions.toml"
|
|
line="16"
|
|
column="10"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewerVersionAvailable"
|
|
message="A newer version of com.google.code.gson:gson than 2.10.1 is available: 2.14.0"
|
|
errorLine1="gson = "2.10.1""
|
|
errorLine2=" ~~~~~~~~">
|
|
<location
|
|
file="$HOME/Code/Kordant/android/Kordant/gradle/libs.versions.toml"
|
|
line="17"
|
|
column="8"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewerVersionAvailable"
|
|
message="A newer version of com.airbnb.android:lottie-compose than 6.4.0 is available: 6.7.1"
|
|
errorLine1="lottieCompose = "6.4.0""
|
|
errorLine2=" ~~~~~~~">
|
|
<location
|
|
file="$HOME/Code/Kordant/android/Kordant/gradle/libs.versions.toml"
|
|
line="18"
|
|
column="17"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewerVersionAvailable"
|
|
message="A newer version of org.jetbrains.kotlinx:kotlinx-coroutines-test than 1.7.3 is available: 1.11.0"
|
|
errorLine1="coroutinesTest = "1.7.3""
|
|
errorLine2=" ~~~~~~~">
|
|
<location
|
|
file="$HOME/Code/Kordant/android/Kordant/gradle/libs.versions.toml"
|
|
line="19"
|
|
column="18"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewerVersionAvailable"
|
|
message="A newer version of com.squareup.retrofit2:retrofit than 2.11.0 is available: 3.0.0"
|
|
errorLine1="retrofit = "2.11.0""
|
|
errorLine2=" ~~~~~~~~">
|
|
<location
|
|
file="$HOME/Code/Kordant/android/Kordant/gradle/libs.versions.toml"
|
|
line="20"
|
|
column="12"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewerVersionAvailable"
|
|
message="A newer version of org.jetbrains.kotlinx:kotlinx-serialization-json than 1.7.3 is available: 1.11.0"
|
|
errorLine1="kotlinxSerializationJson = "1.7.3""
|
|
errorLine2=" ~~~~~~~">
|
|
<location
|
|
file="$HOME/Code/Kordant/android/Kordant/gradle/libs.versions.toml"
|
|
line="22"
|
|
column="28"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewerVersionAvailable"
|
|
message="A newer version of com.google.truth:truth than 1.4.4 is available: 1.4.5"
|
|
errorLine1="truth = "1.4.4""
|
|
errorLine2=" ~~~~~~~">
|
|
<location
|
|
file="$HOME/Code/Kordant/android/Kordant/gradle/libs.versions.toml"
|
|
line="24"
|
|
column="9"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewerVersionAvailable"
|
|
message="A newer version of com.squareup.okhttp3:mockwebserver than 4.12.0 is available: 5.3.2"
|
|
errorLine1="mockwebserver = "4.12.0""
|
|
errorLine2=" ~~~~~~~~">
|
|
<location
|
|
file="$HOME/Code/Kordant/android/Kordant/gradle/libs.versions.toml"
|
|
line="25"
|
|
column="17"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="LocalContextGetResourceValueCall"
|
|
message="Querying resource values using LocalContext.current"
|
|
errorLine1=" .requestIdToken(context.getString(com.kordant.android.R.string.default_web_client_id))"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/kordant/android/ui/screens/auth/LoginScreen.kt"
|
|
line="56"
|
|
column="29"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="StaticFieldLeak"
|
|
message="Do not place Android context classes in static fields (static reference to `UserRepository` which has field `context` pointing to `Context`); this is a memory leak"
|
|
errorLine1=" private var userRepository: UserRepository? = null"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/kordant/android/di/RepositoryModule.kt"
|
|
line="11"
|
|
column="5"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="StaticFieldLeak"
|
|
message="Do not place Android context classes in static fields (static reference to `DarkWatchRepository` which has field `context` pointing to `Context`); this is a memory leak"
|
|
errorLine1=" private var darkWatchRepository: DarkWatchRepository? = null"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/kordant/android/di/RepositoryModule.kt"
|
|
line="12"
|
|
column="5"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="StaticFieldLeak"
|
|
message="Do not place Android context classes in static fields (static reference to `VoicePrintRepository` which has field `context` pointing to `Context`); this is a memory leak"
|
|
errorLine1=" private var voicePrintRepository: VoicePrintRepository? = null"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/kordant/android/di/RepositoryModule.kt"
|
|
line="13"
|
|
column="5"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="StaticFieldLeak"
|
|
message="Do not place Android context classes in static fields (static reference to `AlertRepository` which has field `context` pointing to `Context`); this is a memory leak"
|
|
errorLine1=" private var alertRepository: AlertRepository? = null"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/kordant/android/di/RepositoryModule.kt"
|
|
line="14"
|
|
column="5"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="StaticFieldLeak"
|
|
message="Do not place Android context classes in static fields (static reference to `SubscriptionRepository` which has field `context` pointing to `Context`); this is a memory leak"
|
|
errorLine1=" private var subscriptionRepository: SubscriptionRepository? = null"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/kordant/android/di/RepositoryModule.kt"
|
|
line="15"
|
|
column="5"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
message="The resource `R.color.brand_primary` appears to be unused"
|
|
errorLine1=" <color name="brand_primary">#FF4F46E5</color>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/values/colors.xml"
|
|
line="3"
|
|
column="12"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
message="The resource `R.color.brand_primary_light` appears to be unused"
|
|
errorLine1=" <color name="brand_primary_light">#FF818CF8</color>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/values/colors.xml"
|
|
line="4"
|
|
column="12"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
message="The resource `R.color.brand_accent` appears to be unused"
|
|
errorLine1=" <color name="brand_accent">#FF06B6D4</color>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/values/colors.xml"
|
|
line="5"
|
|
column="12"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
message="The resource `R.color.bg_primary` appears to be unused"
|
|
errorLine1=" <color name="bg_primary">#FFFFFFFF</color>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/values/colors.xml"
|
|
line="6"
|
|
column="12"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
message="The resource `R.color.bg_primary_dark` appears to be unused"
|
|
errorLine1=" <color name="bg_primary_dark">#FF0F172A</color>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/values/colors.xml"
|
|
line="7"
|
|
column="12"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
message="The resource `R.color.text_primary` appears to be unused"
|
|
errorLine1=" <color name="text_primary">#FF0F172A</color>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/values/colors.xml"
|
|
line="8"
|
|
column="12"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
message="The resource `R.color.text_primary_dark` appears to be unused"
|
|
errorLine1=" <color name="text_primary_dark">#FFF1F5F9</color>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/values/colors.xml"
|
|
line="9"
|
|
column="12"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
message="The resource `R.color.success` appears to be unused"
|
|
errorLine1=" <color name="success">#FF22C55E</color>"
|
|
errorLine2=" ~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/values/colors.xml"
|
|
line="10"
|
|
column="12"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
message="The resource `R.color.warning` appears to be unused"
|
|
errorLine1=" <color name="warning">#FFF59E0B</color>"
|
|
errorLine2=" ~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/values/colors.xml"
|
|
line="11"
|
|
column="12"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
message="The resource `R.color.error` appears to be unused"
|
|
errorLine1=" <color name="error">#FFEF4444</color>"
|
|
errorLine2=" ~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/values/colors.xml"
|
|
line="12"
|
|
column="12"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
message="The resource `R.color.info` appears to be unused"
|
|
errorLine1=" <color name="info">#FF3B82F6</color>"
|
|
errorLine2=" ~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/values/colors.xml"
|
|
line="13"
|
|
column="12"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
message="The resource `R.drawable.ic_home` appears to be unused"
|
|
errorLine1="<vector xmlns:android="http://schemas.android.com/apk/res/android""
|
|
errorLine2="^">
|
|
<location
|
|
file="src/main/res/drawable/ic_home.xml"
|
|
line="1"
|
|
column="1"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UseKtx"
|
|
message="Use the KTX extension function `SharedPreferences.edit` instead?"
|
|
errorLine1=" securePrefs.edit()"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/kordant/android/data/repository/AuthRepository.kt"
|
|
line="144"
|
|
column="9"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UseKtx"
|
|
message="Use the KTX extension function `SharedPreferences.edit` instead?"
|
|
errorLine1=" securePrefs.edit()"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/kordant/android/data/repository/AuthRepository.kt"
|
|
line="155"
|
|
column="9"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UseKtx"
|
|
message="Use the KTX extension function `SharedPreferences.edit` instead?"
|
|
errorLine1=" prefs.edit().putBoolean("biometric_enabled", enabled).apply()"
|
|
errorLine2=" ~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/java/com/kordant/android/ui/screens/auth/BiometricAuthScreen.kt"
|
|
line="88"
|
|
column="5"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UseTomlInstead"
|
|
message="Use version catalog instead"
|
|
errorLine1=" implementation("androidx.compose.material:material-icons-core")"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="build.gradle.kts"
|
|
line="66"
|
|
column="20"/>
|
|
</issue>
|
|
|
|
</issues>
|