Skip to content

Commit 655714f

Browse files
joshtrichardsalperozturk96
authored andcommitted
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 <josh.t.richards@gmail.com>
1 parent ca84d82 commit 655714f

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

app/build.gradle.kts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,10 +107,6 @@ android {
107107
buildConfigField("boolean", "CI", ciBuild.toString())
108108
buildConfigField("boolean", "RUNTIME_PERF_ANALYSIS", perfAnalysis.toString())
109109

110-
javaCompileOptions.annotationProcessorOptions {
111-
arguments += mapOf("room.schemaLocation" to "$projectDir/schemas")
112-
}
113-
114110
// arguments to be passed to functional tests
115111
testInstrumentationRunner = if (shotTest) "com.karumi.shot.ShotTestRunner"
116112
else "com.nextcloud.client.TestRunner"

0 commit comments

Comments
 (0)