Fix Room incremental warning

This commit is contained in:
J-Jamet 2020-03-08 09:50:32 +01:00
parent 2c943e00d0
commit c8e241fc76
2 changed files with 7 additions and 0 deletions

View file

@ -19,6 +19,12 @@ android {
testInstrumentationRunner = "android.test.InstrumentationTestRunner"
buildConfigField "String[]", "ICON_PACKS", "{\"classic\",\"material\"}"
javaCompileOptions {
annotationProcessorOptions {
arguments = ["room.incremental":"true"]
}
}
}
externalNativeBuild {

View file

@ -1,3 +1,4 @@
android.enableJetifier=true
android.useAndroidX=true
kapt.incremental.apt=true
org.gradle.jvmargs=-Xmx2048M