[app] Add rule for gson (#266)

Co-authored-by: vvb2060 <vvb2060@gmail.com>
This commit is contained in:
CoderStory 2021-03-04 19:04:26 +08:00 committed by GitHub
parent cb5940bc1a
commit 300b7557c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -18,3 +18,7 @@
-repackageclasses -repackageclasses
-allowaccessmodification -allowaccessmodification
# Gson uses generic type information stored in a class file when working with fields. Proguard
# removes such information by default, so configure it to keep all of it.
-keepattributes Signature,InnerClasses