Skip to content

Commit

Permalink
[FIX] #82 - 'Missing classes detected while running R8' 해결 시도
Browse files Browse the repository at this point in the history
  • Loading branch information
jung0115 committed Aug 28, 2024
1 parent 7763cd1 commit 57dfd00
Show file tree
Hide file tree
Showing 11 changed files with 13 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ android {
minSdk min_sdk_version
targetSdk target_sdk_version

versionCode 8
versionCode 11
versionName "1.1.0"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
Expand Down
1 change: 1 addition & 0 deletions app/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
-keep class com.swmarastro.mykkumi.common_ui.** { *; }
-keep class com.swmarastro.mykkumi.data.** { *; }
#-keep class java.lang.invoke.StringConcatFactory { *; }
-dontwarn java.lang.invoke.StringConcatFactory
-keep class com.swmarastro.mykkumi.common_ui.base.BaseFragment

# 카카오 로그인을 위한 카카오 SDK를 코드 축소, 난독화, 최적화에서 제외
Expand Down
3 changes: 2 additions & 1 deletion core/common-ui/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
#-renamesourcefileattribute SourceFile
-keep class com.swmarastro.mykkumi.common_ui.** { *; }
-keep class com.swmarastro.mykkumi.common_ui.base.BaseFragment { *; }
#-keep class java.lang.invoke.StringConcatFactory { *; }
-keep class java.lang.invoke.StringConcatFactory { *; }
-dontwarn java.lang.invoke.StringConcatFactory

# 카카오 로그인을 위한 카카오 SDK를 코드 축소, 난독화, 최적화에서 제외
-keep class com.kakao.sdk.**.model.* { <fields>; }
Expand Down
1 change: 1 addition & 0 deletions core/data/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
#-renamesourcefileattribute SourceFile
-keep class com.swmarastro.mykkumi.data.** { *; }
#-keep class java.lang.invoke.StringConcatFactory { *; }
-dontwarn java.lang.invoke.StringConcatFactory

# 카카오 로그인을 위한 카카오 SDK를 코드 축소, 난독화, 최적화에서 제외
-keep class com.kakao.sdk.**.model.* { <fields>; }
Expand Down
1 change: 1 addition & 0 deletions feature/around/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
# 공통 모듈의 클래스 유지
-keep class com.swmarastro.mykkumi.common_ui.** { *; }
#-keep class java.lang.invoke.StringConcatFactory { *; }
-dontwarn java.lang.invoke.StringConcatFactory
-keep class com.swmarastro.mykkumi.common_ui.base.BaseFragment

# 카카오 로그인을 위한 카카오 SDK를 코드 축소, 난독화, 최적화에서 제외
Expand Down
1 change: 1 addition & 0 deletions feature/auth/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
-keep class com.swmarastro.mykkumi.common_ui.** { *; }
-keep class com.swmarastro.mykkumi.data.** { *; }
#-keep class java.lang.invoke.StringConcatFactory { *; }
-dontwarn java.lang.invoke.StringConcatFactory
-keep class com.swmarastro.mykkumi.common_ui.base.BaseFragment

# 카카오 로그인을 위한 카카오 SDK를 코드 축소, 난독화, 최적화에서 제외
Expand Down
1 change: 1 addition & 0 deletions feature/home/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
# 공통 모듈의 클래스 유지
-keep class com.swmarastro.mykkumi.common_ui.** { *; }
#-keep class java.lang.invoke.StringConcatFactory { *; }
-dontwarn java.lang.invoke.StringConcatFactory
-keep class com.swmarastro.mykkumi.common_ui.base.BaseFragment

# 카카오 로그인을 위한 카카오 SDK를 코드 축소, 난독화, 최적화에서 제외
Expand Down
1 change: 1 addition & 0 deletions feature/mypage/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
# 공통 모듈의 클래스 유지
-keep class com.swmarastro.mykkumi.common_ui.** { *; }
#-keep class java.lang.invoke.StringConcatFactory { *; }
-dontwarn java.lang.invoke.StringConcatFactory
-keep class com.swmarastro.mykkumi.common_ui.base.BaseFragment

# 카카오 로그인을 위한 카카오 SDK를 코드 축소, 난독화, 최적화에서 제외
Expand Down
1 change: 1 addition & 0 deletions feature/post/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
# 공통 모듈의 클래스 유지
-keep class com.swmarastro.mykkumi.common_ui.** { *; }
#-keep class java.lang.invoke.StringConcatFactory { *; }
-dontwarn java.lang.invoke.StringConcatFactory
-keep class com.swmarastro.mykkumi.common_ui.base.BaseFragment

# 카카오 로그인을 위한 카카오 SDK를 코드 축소, 난독화, 최적화에서 제외
Expand Down
1 change: 1 addition & 0 deletions feature/shopping/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
# 공통 모듈의 클래스 유지
-keep class com.swmarastro.mykkumi.common_ui.** { *; }
#-keep class java.lang.invoke.StringConcatFactory { *; }
-dontwarn java.lang.invoke.StringConcatFactory
-keep class com.swmarastro.mykkumi.common_ui.base.BaseFragment

# 카카오 로그인을 위한 카카오 SDK를 코드 축소, 난독화, 최적화에서 제외
Expand Down
2 changes: 2 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,5 @@ kotlin.code.style=official
# resources declared in the library itself and none from the library's dependencies,
# thereby reducing the size of the R class for that library
android.nonTransitiveRClass=true
android.enableR8.fullMode=false
android.enableR8.libraries=false

0 comments on commit 57dfd00

Please sign in to comment.