Skip to content

Commit

Permalink
Merge pull request #78 from iamport/fix/retrofit-proguard-rules
Browse files Browse the repository at this point in the history
proguard 규칙 추가
  • Loading branch information
anymate98 authored Feb 15, 2024
2 parents 882f60c + b42912e commit d74368b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
4 changes: 2 additions & 2 deletions buildSrc/src/main/java/Dependencies.kt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// 디펜던시 업데이트 확인 ./gradlew dependencyUpdates

object Versions {
const val versionCode = 240124000 // yymmdd000
const val versionName = "1.4.3" // https://www.notion.so/chaifinance/QA-Process-d1a4be396337493b81c6e85fff2d5cd6
const val versionCode = 240215000 // yymmdd000
const val versionName = "1.4.4" // https://www.notion.so/chaifinance/QA-Process-d1a4be396337493b81c6e85fff2d5cd6

const val multidex = "2.0.1"
const val kotlin_stdlib_jdk = "1.9.10"
Expand Down
12 changes: 12 additions & 0 deletions sdk/consumer-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,18 @@
# and replaces all potential values with null. Explicitly keeping the interfaces prevents this.
-if interface * { @retrofit2.http.* <methods>; }
-keep,allowobfuscation interface <1>

# With R8 full mode generic signatures are stripped for classes that are not
# kept. Suspend functions are wrapped in continuations where the type argument
# is used.
-keep,allowobfuscation,allowshrinking class kotlin.coroutines.Continuation

# R8 full mode strips generic signatures from return types if not kept.
-if interface * { @retrofit2.http.* public *** *(...); }
-keep,allowoptimization,allowshrinking,allowobfuscation class <3>

# With R8 full mode generic signatures are stripped for classes that are not kept.
-keep,allowobfuscation,allowshrinking class retrofit2.Response
# End of Retrofit 관련


Expand Down

0 comments on commit d74368b

Please sign in to comment.