From d129b42ab6208fedbf9276e5bdf0ee2214ae5104 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 5 Jun 2026 06:37:13 +0000 Subject: [PATCH 1/2] fix(deps): update kotlin monorepo to v2.4.0 --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 409fd5849..2e2f7b7fb 100644 --- a/build.gradle +++ b/build.gradle @@ -10,7 +10,7 @@ buildscript { ext { - kotlinVersion = '2.3.21' + kotlinVersion = '2.4.0' commonsVersion = '2.4.1' androidCommonsVersion = '1.1.1' nextcloudAndroidCommonLib = "0.33.2" From 9a8167b504a28dedc963f54068be7843847802be Mon Sep 17 00:00:00 2001 From: tobiasKaminsky Date: Thu, 18 Jun 2026 12:35:18 +0200 Subject: [PATCH 2/2] fix(deps): force kotlin-metadata-jvm 2.4.0 for Room annotation processor Room 2.8.4 transitively depends on kotlin-metadata-jvm 2.2.0 which only supports Kotlin metadata up to version 2.3.0. After the Kotlin upgrade to 2.4.0, the Room annotation processor fails to read compiled class metadata. Explicitly declaring kotlin-metadata-jvm matching the Kotlin version forces Gradle to resolve the newer compatible version on the annotation processor classpath. AI-assistant: Claude Code 2.1.80 (Claude Sonnet 4.6) Signed-off-by: tobiasKaminsky --- app/build.gradle | 1 + 1 file changed, 1 insertion(+) diff --git a/app/build.gradle b/app/build.gradle index e102017ef..ca3feded3 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -161,6 +161,7 @@ dependencies { // Database implementation "androidx.room:room-runtime:${roomVersion}" annotationProcessor "androidx.room:room-compiler:${roomVersion}" + annotationProcessor "org.jetbrains.kotlin:kotlin-metadata-jvm:$kotlinVersion" // Retrofit implementation 'com.squareup.retrofit2:retrofit:3.0.0'