From 71f585f112d4ad4f5cb0e352c651539fc3f8d1e6 Mon Sep 17 00:00:00 2001 From: olly Date: Tue, 2 Feb 2021 11:12:44 +0000 Subject: [PATCH] Fix ProGuard configuration for 2.13 Note: We only support pro-guard on a best effort basis, and developers should use R8 whenever possible. #minor-release PiperOrigin-RevId: 355129695 --- library/common/proguard-rules.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/library/common/proguard-rules.txt b/library/common/proguard-rules.txt index 8de310a867..abc8e1006d 100644 --- a/library/common/proguard-rules.txt +++ b/library/common/proguard-rules.txt @@ -16,3 +16,7 @@ -dontwarn com.google.errorprone.annotations.** -dontwarn com.google.j2objc.annotations.** -dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement + +# Workaround for https://issuetracker.google.com/issues/112297269 +# This is needed for ProGuard but not R8. +-keepnames class com.google.common.base.Function { *; }