:app:kaptDebugKotlin
w: warning: The following options were not recognized by any processor: '[kapt.kotlin.generated, room.incremental]'
Why am I getting this? I am using Room in a multi module project.
- Kotlin版本:1.3.50
- AGP: 3.5.0
- Room: 2.2.0-rc01
共享库模块:
api "androidx.room:room-runtime:$room_version"
api "androidx.room:room-ktx:$room_version"
api "androidx.room:room-rxjava2:$room_version"
个
应用程序模块:
kapt "androidx.room:room-compiler:$room_version"
个
格雷德尔.属性
kapt.incremental.apt=true
Build.gradle defaultConfig includes these compile options:
javaCompileOptions {
annotationProcessorOptions {
arguments = ["room.incremental":"true"]
}
}