Restore `validateEpoxyModelUsage` annotation processing arg

This commit is contained in:
Jorge Martín 2022-09-30 09:44:23 +02:00
parent f5cb980020
commit 570bc57cc6
1 changed files with 7 additions and 0 deletions

View File

@ -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 {