Anyone seen this error before? I’m getting this a...
# room
m
Anyone seen this error before? I’m getting this after upgrading my kotlin and gradle plugin:
Copy code
> 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:
Copy code
defaultConfig {
        javaCompileOptions {
            annotationProcessorOptions {
                arguments += mapOf(
                    "room.schemaLocation" to "$projectDir/schemas",
                    "room.incremental" to "true",
                    "room.expandProjection" to "true"
                )
            }
        }
    }