From 655714fa21beabf30afe50da2cabb9d6b998c3da Mon Sep 17 00:00:00 2001 From: Josh Date: Sun, 8 Feb 2026 09:57:52 -0500 Subject: [PATCH] build(app): remove redundant room schema location from annotationProcessorOptions Removes the 'room.schemaLocation' argument from the general annotationProcessorOptions block in app/build.gradle.kts. Since KSP is already used for the Room compiler, the schema location is already correctly provided via 'ksp.arg'. Leaving it in the general javaCompileOptions caused Kapt to pass the argument to other processors (like prism4j), resulting in "unrecognized options" warnings during compilation. Signed-off-by: Josh --- app/build.gradle.kts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 976d9c55c03b..e94a0f63a6a4 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -107,10 +107,6 @@ android { buildConfigField("boolean", "CI", ciBuild.toString()) buildConfigField("boolean", "RUNTIME_PERF_ANALYSIS", perfAnalysis.toString()) - javaCompileOptions.annotationProcessorOptions { - arguments += mapOf("room.schemaLocation" to "$projectDir/schemas") - } - // arguments to be passed to functional tests testInstrumentationRunner = if (shotTest) "com.karumi.shot.ShotTestRunner" else "com.nextcloud.client.TestRunner"