From 0827044caf7896ef7b71462e2d3303e4edc7cd53 Mon Sep 17 00:00:00 2001 From: topjohnwu Date: Sun, 12 Jan 2020 04:54:20 +0800 Subject: [PATCH] Make Room incremental --- app/build.gradle | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/build.gradle b/app/build.gradle index 9fdd2be74..7faeaddf3 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -19,6 +19,12 @@ android { multiDexEnabled true versionName props['appVersion'] versionCode props['appVersionCode'] as Integer + + javaCompileOptions { + annotationProcessorOptions { + arguments = ["room.incremental":"true"] + } + } } buildTypes {