I've a multi flavors project which represents several brands, each with their own database and I'm figuring out a simple way to export a room schema for each of them.
e.g:
flavor#1 -> "$projectDir/flavor1/schemas"
flavor#2 -> "$projectDir/flavor2/schemas"
I tried to add this
kapt {
arguments {
arg("room.schemaLocation", "$projectDir/myFlavorName/schemas")
}
}
inside a each flavor { } block but doesn't work (it works for "last" flavor only) Is there a simple way to accomplish this?
Thanks in advance :)