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
This commit is contained in:
olly 2021-02-03 14:13:01 +00:00 committed by Oliver Woodman
parent b419d0ac1d
commit 42d3bb42b7

View file

@ -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 { *; }