Remove shrinker rules for okhttp (#3560)

Now included automatically in OkHttp.
This commit is contained in:
Konrad Pozniak 2023-04-24 12:08:03 +02:00 committed by GitHub
parent 24d7ef7ccb
commit af2727b633
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -78,13 +78,6 @@
-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