Skip to content

Commit

Permalink
Add common proguard rules (google-gemini#141)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
emilypgoogle authored and PatilShreyas committed Sep 21, 2024
1 parent d5317f8 commit 3822173
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions common/consumer-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -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.** { *; }

0 comments on commit 3822173

Please sign in to comment.