diff --git a/app/build.gradle b/app/build.gradle index 6bc768fbd..6e5ae18c4 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -19,6 +19,12 @@ android { testInstrumentationRunner = "android.test.InstrumentationTestRunner" buildConfigField "String[]", "ICON_PACKS", "{\"classic\",\"material\"}" + + javaCompileOptions { + annotationProcessorOptions { + arguments = ["room.incremental":"true"] + } + } } externalNativeBuild { diff --git a/gradle.properties b/gradle.properties index 0c0632ee2..1631b8247 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,3 +1,4 @@ android.enableJetifier=true android.useAndroidX=true +kapt.incremental.apt=true org.gradle.jvmargs=-Xmx2048M