android-cache-fix-gradle-plugin
android-cache-fix-gradle-plugin copied to clipboard
Detect schema location passed to `kapt` as well.
Currently we only detect the room schema location being passed to annotationProcessorOptions, but not kapt.arguments.
We should also detect the following:
kapt {
arguments {
arg("room.schemaLocation", "$projectDir/schemas")
}
}
As Google Dev Rel are pumping up a replacement from kapt to ksp for the room with their promo materials we should try to detect and assert ksp params block as well
ksp {
arg('room.incremental', 'true')
arg('room.schemaLocation', file("schemas").getPath())
}
We will not do this and instead favor supporting Google's Room Gradle plugin.