Update proguard

pull/123/head
FongMi 3 years ago
parent c28142a335
commit 017f3d21d7
  1. 2
      app/build.gradle
  2. 7
      app/proguard-rules.pro

@ -101,6 +101,7 @@ dependencies {
implementation 'com.github.bumptech.glide:glide:4.14.2'
implementation 'com.google.android.material:material:1.9.0-beta01'
implementation 'com.google.code.gson:gson:2.10.1'
implementation 'com.google.net.cronet:cronet-okhttp:0.1.0'
implementation 'com.google.zxing:core:3.4.1'
implementation 'com.guolindev.permissionx:permissionx:1.7.1'
implementation 'com.squareup.okhttp3:okhttp:5.0.0-alpha.10'
@ -109,6 +110,7 @@ dependencies {
implementation 'org.chromium.net:cronet-embedded:101.4951.41'
implementation 'org.greenrobot:eventbus:3.3.1'
implementation 'org.nanohttpd:nanohttpd:2.3.1'
implementation('com.github.thegrizzlylabs:sardine-android:0.8') { transitive = false }
implementation('org.simpleframework:simple-xml:2.7.1') { exclude group: 'stax', module: 'stax-api' exclude group: 'xpp3', module: 'xpp3' }
leanbackImplementation 'androidx.leanback:leanback:1.2.0-alpha02'
leanbackImplementation 'me.jessyan:autosize:1.2.1'

@ -2,7 +2,7 @@
-keepattributes Signature
-keepattributes *Annotation*
-dontwarn sun.misc.**
-keep class com.google.gson.**{*;}
-keep class com.google.gson.** { *; }
-keep class * extends com.google.gson.TypeAdapter
-keep class * implements com.google.gson.TypeAdapterFactory
-keep class * implements com.google.gson.JsonSerializer
@ -12,7 +12,6 @@
-keep,allowobfuscation,allowshrinking class * extends com.google.gson.reflect.TypeToken
# SimpleXML
-keep class org.simpleframework.xml.** { *; }
-keep interface org.simpleframework.xml.core.Label { public *; }
-keep class * implements org.simpleframework.xml.core.Label { public *; }
-keep interface org.simpleframework.xml.core.Parameter { public *; }
@ -29,6 +28,7 @@
# Cronet
-keep class org.chromium.net.** { *; }
-keep class com.google.net.cronet.** { *; }
# CatVod
-keep class com.github.catvod.crawler.** { *; }
@ -42,6 +42,9 @@
-keep class tv.danmaku.ijk.media.player.IjkMediaPlayer { *; }
-keep class tv.danmaku.ijk.media.player.ffmpeg.FFmpegApi { *; }
# Sardine
-keep class com.thegrizzlylabs.sardineandroid.** { *; }
# TVBus
-keep class com.tvbus.engine.** { *; }

Loading…
Cancel
Save