Skip to content

Commit 18ed8fd

Browse files
committed
proguard rules for future avoidance
1 parent 67a6c61 commit 18ed8fd

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

quickedit/proguard-rules.pro

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,15 @@
1818

1919
# If you keep the line number information, uncomment this to
2020
# hide the original source file name.
21-
#-renamesourcefileattribute SourceFile
21+
#-renamesourcefileattribute SourceFile
22+
23+
# Hilt / Dagger
24+
-keep class dagger.hilt.** { *; }
25+
-keep class * extends dagger.hilt.internal.GeneratedComponent { *; }
26+
-keep class * extends androidx.lifecycle.ViewModel { *; } # keep ViewModel names if used in DI
27+
28+
# Okio/OkHttp/Moshi (if you add later)
29+
-dontwarn javax.annotation.**
30+
31+
# GPUImage (avoid stripping)
32+
-keep class jp.co.cyberagent.android.gpuimage.** { *; }

0 commit comments

Comments
 (0)