android-cache-fix-gradle-plugin icon indicating copy to clipboard operation
android-cache-fix-gradle-plugin copied to clipboard

Detect schema location passed to `kapt` as well.

Open runningcode opened this issue 4 years ago • 1 comments

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")
    }
}

runningcode avatar Mar 15 '21 17:03 runningcode

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())
}

plastiv avatar Oct 29 '21 15:10 plastiv

We will not do this and instead favor supporting Google's Room Gradle plugin.

runningcode avatar Jul 19 '23 08:07 runningcode