From 7a690d977a22483ed77933693395c4ec9fd760e9 Mon Sep 17 00:00:00 2001 From: emilypgoogle <110422458+emilypgoogle@users.noreply.github.com> Date: Mon, 6 May 2024 18:24:01 -0500 Subject: [PATCH] Add common proguard rules (#141) When we migrated to common, our types got moved and the proguard rule no longer applied. I think this should be adequate to handle all of our serialized types, but if there are more outside of common that'll also need to be kept. --- common/consumer-rules.pro | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/consumer-rules.pro b/common/consumer-rules.pro index f1b42451..03dfd9ea 100644 --- a/common/consumer-rules.pro +++ b/common/consumer-rules.pro @@ -19,3 +19,5 @@ # If you keep the line number information, uncomment this to # hide the original source file name. #-renamesourcefileattribute SourceFile + +-keep class com.google.ai.client.generativeai.common.** { *; }