From 5effc99038eb23cd77c0ef8e3108932aee706d99 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 3 Dec 2026 04:09:31 +0000 Subject: [PATCH 1/4] build(deps): Update gradle dependencies --- gradle/libs.versions.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 13e719721..cd3b4855d 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -4,8 +4,8 @@ androidxActivity = "1.13.0" bouncycastle = "1.87" coroutines = "1.11.0" flowbinding = "1.2.0" -hilt = "2.60.1" -kotlin = "2.4.21" +hilt = "2.61" +kotlin = "2.5.0" ksp = "2.3.12" kotlinResult = "2.3.1" lifecycle = "2.11.1" @@ -45,7 +45,7 @@ build-r8 = "com.android.tools:r8:9.5.34" build-semver = "com.github.zafarkhaja:java-semver:0.10.2" build-spotless = "com.diffplug.spotless:spotless-plugin-gradle:8.12.0" build-vcu = "nl.littlerobots.version-catalog-update:nl.littlerobots.version-catalog-update.gradle.plugin:1.1.2" -compose-bom = "androidx.compose:compose-bom:2026.11.01" +compose-bom = "androidx.compose:compose-bom:2026.12.00" compose-foundation-core = { module = "androidx.compose.foundation:foundation" } compose-foundation-layout = { module = "androidx.compose.foundation:foundation-layout" } compose-material3 = { module = "androidx.compose.material3:material3" } From 9f47f4ac748ee3d3fd37656431474ff1d6bb75d8 Mon Sep 17 00:00:00 2001 From: "forkline-dev[bot]" Date: Thu, 3 Dec 2026 04:25:50 +0000 Subject: [PATCH 2/4] fix: replace deprecated ::javaClass with ::class.java in StaticLoggerBinder Kotlin 2.5.0 introduced a warning for '::javaClass' property reference syntax (KTLC-375). Since the project uses -Werror, this warning becomes a compilation error. Replaced with '::class.java' which is the recommended alternative. --- app/src/main/java/org/slf4j/impl/StaticLoggerBinder.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/org/slf4j/impl/StaticLoggerBinder.kt b/app/src/main/java/org/slf4j/impl/StaticLoggerBinder.kt index 476ac05eb..1b3589756 100644 --- a/app/src/main/java/org/slf4j/impl/StaticLoggerBinder.kt +++ b/app/src/main/java/org/slf4j/impl/StaticLoggerBinder.kt @@ -13,7 +13,7 @@ import org.slf4j.spi.LoggerFactoryBinder class StaticLoggerBinder : LoggerFactoryBinder { private val loggerFactory: ILoggerFactory = LogcatLoggerFactory() - private val loggerFactoryClassStr = LogcatLoggerFactory::javaClass.name + private val loggerFactoryClassStr = LogcatLoggerFactory::class.java.name override fun getLoggerFactory(): ILoggerFactory { return loggerFactory From 2cc5c4b20a1b568499dbc0548df53bc3e0736803 Mon Sep 17 00:00:00 2001 From: "forkline-dev[bot]" Date: Thu, 3 Dec 2026 04:42:29 +0000 Subject: [PATCH 3/4] fix: add KSP dagger compiler to format:common for @AssistedInject Dagger 2.61 requires @AssistedInject factories to be generated in the same module as the annotated class. The PasswordEntry class in format:common uses @AssistedInject but the module lacked the annotation processor, causing hiltJavaCompileDebug to fail with: 'Dagger does not support generating @AssistedInject factories for classes in dependencies' Add the KSP plugin and hilt-compiler dependency to format:common so the PasswordEntry_Factory is generated locally. --- format/common/build.gradle.kts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/format/common/build.gradle.kts b/format/common/build.gradle.kts index 3c31a11ba..2b97e87f8 100644 --- a/format/common/build.gradle.kts +++ b/format/common/build.gradle.kts @@ -2,7 +2,10 @@ * Copyright © 2014-2026 The Android Password Store Authors. All Rights Reserved. * SPDX-License-Identifier: GPL-3.0-only */ -plugins { id("com.github.android-password-store.kotlin-jvm-library") } +plugins { + id("com.github.android-password-store.kotlin-jvm-library") + alias(libs.plugins.ksp) +} dependencies { api(libs.kotlinx.coroutines.core) @@ -10,6 +13,7 @@ dependencies { implementation(projects.coroutineUtils) implementation(libs.androidx.annotation) implementation(libs.dagger.hilt.core) + ksp(libs.dagger.hilt.compiler) implementation(libs.thirdparty.commons.codec) implementation(libs.thirdparty.uri) testImplementation(libs.bundles.testDependencies) From b6ef40fd65de4009814d8c23714a56db5ab6912f Mon Sep 17 00:00:00 2001 From: "forkline-dev[bot]" Date: Thu, 3 Dec 2026 04:59:09 +0000 Subject: [PATCH 4/4] fix: disable UnknownNullness lint for JVM modules KSP-generated Dagger/Hilt factory code lacks nullability annotations, causing 21 lint errors after Kotlin 2.5.0 and Dagger 2.61 updates. Since all hand-written code is Kotlin (which has its own nullability system), this check only flags generated code we cannot control. --- .../src/main/kotlin/app/passwordstore/gradle/LintConfig.kt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build-logic/src/main/kotlin/app/passwordstore/gradle/LintConfig.kt b/build-logic/src/main/kotlin/app/passwordstore/gradle/LintConfig.kt index 68a2fd1a4..628f77c17 100644 --- a/build-logic/src/main/kotlin/app/passwordstore/gradle/LintConfig.kt +++ b/build-logic/src/main/kotlin/app/passwordstore/gradle/LintConfig.kt @@ -41,6 +41,10 @@ object LintConfig { disable += "ObsoleteLintCustomCheck" // Third-party libraries may reference packages not in Android disable += "InvalidPackage" + if (isJVM) { + // KSP-generated Dagger/Hilt code lacks nullability annotations + disable += "UnknownNullness" + } if (!isJVM) { // Enable compose-lint-checks' Material 2 detector enable += "ComposeM2Api"