Merge "Keep proguard fields for lite runtime of jarjared class"
This commit is contained in:
commit
3f45311ba2
1 changed files with 3 additions and 2 deletions
|
@ -74,5 +74,6 @@
|
|||
-dontnote
|
||||
|
||||
# The lite proto runtime uses reflection to access fields based on the names in
|
||||
# the schema, keep all the fields.
|
||||
-keepclassmembers class * extends com.google.protobuf.MessageLite { <fields>; }
|
||||
# the schema, keep all the fields. Wildcard is used to apply the rule to classes
|
||||
# that have been renamed with jarjar.
|
||||
-keepclassmembers class * extends **.protobuf.MessageLite { <fields>; }
|
||||
|
|
Loading…
Reference in a new issue