Add extra proguard rules for OkHttp (#3350)
* Add extra proguard rules for OkHttp
339732e3a1/okhttp/src/jvmMain/resources/META-INF/proguard/okhttp3.pro (L11-L14)
* Update proguard-rules.pro
This commit is contained in:
parent
2da7bc5bc8
commit
000681c702
1 changed files with 7 additions and 0 deletions
7
app/proguard-rules.pro
vendored
7
app/proguard-rules.pro
vendored
|
@ -78,6 +78,13 @@
|
||||||
-keepattributes Signature
|
-keepattributes Signature
|
||||||
-keep class kotlin.coroutines.Continuation
|
-keep class kotlin.coroutines.Continuation
|
||||||
|
|
||||||
|
# We can remove these rules after updating to OkHttp 4.10.1
|
||||||
|
# https://github.com/square/okhttp/blob/339732e3a1b78be5d792860109047f68a011b5eb/okhttp/src/jvmMain/resources/META-INF/proguard/okhttp3.pro#L11-L14
|
||||||
|
-dontwarn okhttp3.internal.platform.**
|
||||||
|
-dontwarn org.conscrypt.**
|
||||||
|
-dontwarn org.bouncycastle.**
|
||||||
|
-dontwarn org.openjsse.**
|
||||||
|
|
||||||
# preserve line numbers for crash reporting
|
# preserve line numbers for crash reporting
|
||||||
-keepattributes SourceFile,LineNumberTable
|
-keepattributes SourceFile,LineNumberTable
|
||||||
-renamesourcefileattribute SourceFile
|
-renamesourcefileattribute SourceFile
|
||||||
|
|
Loading…
Reference in a new issue