11# Add project specific ProGuard rules here.
2- # You can control the set of applied configuration files using the
3- # proguardFiles setting in build.gradle.
2+ # By default, the flags in this file are appended to flags specified
3+ # in /Users/namhoonkim/Library/Android/sdk/tools/proguard/proguard-android.txt
4+ # You can edit the include path and order by changing the proguardFiles
5+ # directive in build.gradle.kts.
46#
57# For more details, see
68# http://developer.android.com/guide/developing/tools/proguard.html
79
8- # If your project uses WebView with JS, uncomment the following
9- # and specify the fully qualified class name to the JavaScript interface
10- # class:
11- #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
12- # public *;
13- #}
10+ # Add any project specific keep options here:
11+
12+ # Begin: Common Proguard rules
13+ -dontwarn com.google.**
14+ # End: Common Proguard rules
15+
16+ # 에러 발생시 라인 표시
17+ -keepattributes SourceFile,LineNumberTable
18+
19+ # jdk 컴파일할 때 발생하는 오류 메시지 방지
20+ -keepattributes EnclosingMethod
21+
22+ # 최적화 X
23+ -dontoptimize
24+
25+ # 사용하지 않는 변수 남김
26+ -dontshrink
27+
28+ #public 클래스 난독 시 메서드 호출 문제 발생 가능
29+ -keep public class *
30+
31+ # Begin : lib
32+ -keep class com.jakewharton.** { *; }
33+ -keep class com.jpardogo.materialtabstrip.** { *; }
34+ -keep interface com.jakewharton.** { *; }
35+ -keep interface com.jpardogo.materialtabstrip.** { *; }
36+ -keep class com.crashlytics.** { *; }
37+ # End
38+
39+
40+ # Begin : material, androidx
41+ -dontwarn com.google.android.material.**
42+ -keep class com.google.android.material.** { *; }
1443
15- # Uncomment this to preserve the line number information for
16- # debugging stack traces.
17- #-keepattributes SourceFile,LineNumberTable
44+ -dontwarn androidx.**
45+ -keep class androidx.** { *; }
46+ -keep interface androidx.** { *; }
47+ #End
48+
49+
50+ # Begin: Proguard rules for retrofit2
51+ -dontwarn java.lang.invoke.**
52+ # Platform calls Class.forName on types which do not exist on Android to determine platform.
53+ -dontnote retrofit2.Platform
54+ # Platform used when running on RoboVM on iOS. Will not be used at runtime.
55+ -dontnote retrofit2.Platform$IOS$MainThreadExecutor
56+ # Platform used when running on Java 8 VMs. Will not be used at runtime.
57+ -dontwarn retrofit2.Platform$Java8
58+
59+ # retrofit2 POJO model error
60+ -keepclasseswithmembers class * {
61+ @retrofit2.http.* <methods>;
62+ }
63+ #-keep class com.bcsdlab.kap.community.networks.models.** { *; }
64+ #-keepclassmembers class com.bcsdlab.kap.community.networks.models.** { *; }
65+
66+ # Retain generic type information for use by reflection by converters and adapters.
67+ -keepattributes Signature
68+ # Retain declared checked exceptions for use by a Proxy instance.
69+ -keepattributes Exceptions
70+ # End: Proguard rules for retrofit2
71+
72+ # Begin: Proguard rules for okhttp3
73+ -keep class okhttp3.** { *; }
74+ -keep interface okhttp3.** { *; }
75+ -dontwarn okhttp3.**
76+ -dontwarn okio.**
77+ # End: Proguard rules for okhttp3
78+
79+ # Begin: Proguard rules for Firebase
80+ # Authentication
81+ -keepattributes *Annotation*
82+ # Realtime database
83+ -keepattributes Signature
84+ # End: Proguard rules for Firebase
85+
86+ # Proguard rules for BottomNavigationHelper
87+ #-keepclassmembers class android.support.design.internal.BottomNavigationMenuView {
88+ # boolean mShiftingMode;
89+ #}
90+ -keep class com.kakao.sdk.**.model.* { <fields>; }
91+ -keep class * extends com.google.gson.TypeAdapter
92+ #}
1893
19- # If you keep the line number information, uncomment this to
20- # hide the original source file name.
21- #-renamesourcefileattribute SourceFile
94+ -dontwarn org.jspecify.annotations.NullMarked
95+ -dontwarn top.defaults.checkerboarddrawable.CheckerboardDrawable
0 commit comments