From d7158f828d7be5b550c19bd42f6bbe7f12db16f0 Mon Sep 17 00:00:00 2001 From: Alexandre G Pereira Date: Sat, 3 Aug 2024 13:05:07 -0300 Subject: [PATCH] Fix minify app crashing on DI (#310) --- app/proguard-rules.pro | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index d003141a..af5bf677 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -6,10 +6,12 @@ # http://developer.android.com/guide/developing/tools/proguard.html # Keep Data models --keep public class br.alexandregpereira.hunter.data.** { +-keep public class br.alexandregpereira.hunter.** { public protected *; } +-keepattributes LineNumberTable,SourceFile + -dontwarn org.slf4j.impl.StaticLoggerBinder -dontwarn org.apiguardian.api.API$Status -dontwarn org.apiguardian.api.API