From 1bf53bfabcf952d5dd64b832fce8fbd418adb253 Mon Sep 17 00:00:00 2001 From: olly Date: Wed, 3 Feb 2021 14:13:01 +0000 Subject: [PATCH] Refine ProGuard config workaround for Function This is a more targeted workaround, which still allows for the containing package name to be obfuscated. #minor-release PiperOrigin-RevId: 355381201 --- library/common/proguard-rules.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/common/proguard-rules.txt b/library/common/proguard-rules.txt index abc8e1006d..2eb313c45d 100644 --- a/library/common/proguard-rules.txt +++ b/library/common/proguard-rules.txt @@ -19,4 +19,4 @@ # Workaround for https://issuetracker.google.com/issues/112297269 # This is needed for ProGuard but not R8. --keepnames class com.google.common.base.Function { *; } +-keepclassmembernames class com.google.common.base.Function { *; }