mattinger
09/19/2022, 9:58 PM> java.lang.IllegalStateException: org.gradle.android.workarounds.RoomSchemaLocationWorkaround cannot be used with an explicit 'room.schemaLocation' annotation processor argument. Please change this to configure the schema location directory via the 'room' project extension:
room {
schemaLocationDir.set(file("roomSchemas"))
}
every bit of developer documentation i can find suggests that this it eh right right way to configure it:
defaultConfig {
javaCompileOptions {
annotationProcessorOptions {
arguments += mapOf(
"room.schemaLocation" to "$projectDir/schemas",
"room.incremental" to "true",
"room.expandProjection" to "true"
)
}
}
}