From 24cf19710fae23a1a1594c2dc7ec2fadb2796ff2 Mon Sep 17 00:00:00 2001 From: TacoTheDank Date: Thu, 9 Jun 2022 11:34:57 -0400 Subject: [PATCH] Clean up proguard file --- app/proguard-rules.pro | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index 4a54d8992..5e10d3916 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -18,7 +18,6 @@ -dontobfuscate -keep class org.schabi.newpipe.extractor.timeago.patterns.** { *; } --keep class org.ocpsoft.prettytime.i18n.** { *; } -keep class org.mozilla.javascript.** { *; } @@ -26,9 +25,6 @@ -keep class com.google.android.exoplayer2.** { *; } -dontwarn org.mozilla.javascript.tools.** --dontwarn android.arch.util.paging.CountedDataSource --dontwarn android.arch.persistence.room.paging.LimitOffsetDataSource - # Rules for icepick. Copy paste from https://github.com/frankiesardo/icepick -dontwarn icepick.** @@ -39,12 +35,11 @@ } -keepnames class * { @icepick.State *;} -# Rules for OkHttp. Copy paste from https://github.com/square/okhttp +## Rules for OkHttp. Copy paste from https://github.com/square/okhttp -dontwarn okhttp3.** -dontwarn okio.** --dontwarn javax.annotation.** -# A resource is loaded with a relative path so the package of this class must be preserved. --keepnames class okhttp3.internal.publicsuffix.PublicSuffixDatabase +## + -keepclassmembers class * implements java.io.Serializable { static final long serialVersionUID; !static !transient ;