1# Recently Protobuf Javalite introduced a change that relies on reflection, 2# which doesn't work with Proguard. This rule keeps the reflection usages in 3# (shaded) Protobuf classes in Tink as-is. 4# The location of this file is determined by 5# - https://developer.android.com/studio/build/shrink-code#configuration-files 6# - https://docs.bazel.build/versions/master/be/java.html#java_library.resources 7# See also: 8# - https://github.com/google/tink/issues/361 9# - https://github.com/protocolbuffers/protobuf/issues/6463 10# WARNING: the shaded package name com.google.crypto.tink.shaded.protobuf must 11# be kept in sync with jar_jar_rules.txt. 12-keepclassmembers class * extends com.google.crypto.tink.shaded.protobuf.GeneratedMessageLite { 13 <fields>; 14} 15