From 570bc57cc684bbc453c0675fdc651da8a0e66eea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jorge=20Mart=C3=ADn?= Date: Fri, 30 Sep 2022 09:44:23 +0200 Subject: [PATCH] Restore `validateEpoxyModelUsage` annotation processing arg --- vector/build.gradle | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/vector/build.gradle b/vector/build.gradle index c88f81857a..ff0d907212 100644 --- a/vector/build.gradle +++ b/vector/build.gradle @@ -17,6 +17,13 @@ static def gitRevision() { return cmd.execute().text.trim() } +project.android.buildTypes.all { buildType -> + buildType.javaCompileOptions.annotationProcessorOptions.arguments = + [ + validateEpoxyModelUsage: String.valueOf(buildType.name == 'debug') + ] +} + initScreenshotTests(project) android {