From bf8cd21339e444de6cfdd94ee361f25c25ddef25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=AE=8B=E9=A1=B5?= <31466456+canyie@users.noreply.github.com> Date: Mon, 23 Aug 2021 17:04:33 +0800 Subject: [PATCH] [app] No need to keep EnclosingMethod (#984) It's required only when R8 full mode is enabled. --- app/proguard-rules.pro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index 08ee953f..9d93b13f 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -23,7 +23,7 @@ # Gson uses generic type information stored in a class file when working with fields. Proguard # removes such information by default, so configure it to keep all of it. --keepattributes Signature,InnerClasses,EnclosingMethod +-keepattributes Signature,InnerClasses -dontwarn org.jetbrains.annotations.NotNull -dontwarn org.jetbrains.annotations.Nullable