From 358e89ee5fb486173c1a8823e7d744d13d61334c Mon Sep 17 00:00:00 2001 From: FongMi Date: Fri, 14 Apr 2023 17:27:19 +0800 Subject: [PATCH] Update library --- app/build.gradle | 4 +--- app/proguard-rules.pro | 9 +-------- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 39c8a561c..74d5c4d4b 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -101,9 +101,8 @@ 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.3.0' implementation 'com.guolindev.permissionx:permissionx:1.7.1' + implementation 'com.journeyapps:zxing-android-embedded:4.3.0' implementation 'com.squareup.okhttp3:okhttp:5.0.0-alpha.10' implementation 'net.java.dev.jna:jna:5.12.1' implementation 'org.apache.commons:commons-compress:1.20' @@ -115,7 +114,6 @@ dependencies { leanbackImplementation 'me.jessyan:autosize:1.2.1' mobileImplementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0' mobileImplementation 'com.github.devin1014.DLNA-Cast:dlna-dmc:V1.0.0' - mobileImplementation('com.journeyapps:zxing-android-embedded:4.3.0') { transitive = false } annotationProcessor 'androidx.room:room-compiler:2.5.1' annotationProcessor 'com.github.bumptech.glide:compiler:4.14.2' } \ No newline at end of file diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index 71a431838..2c6198319 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -28,7 +28,6 @@ # Cronet -keep class org.chromium.net.**{*;} --keep class com.google.net.cronet.**{*;} # CatVod -keep class com.github.catvod.crawler.** { *; } @@ -47,10 +46,4 @@ # ZLive -keep class com.sun.jna.** { *; } --keep class com.east.android.zlive.** { *; } - -# Zxing --keepclassmembers enum * { - public static **[] values(); - public static ** valueOf(java.lang.String); -} \ No newline at end of file +-keep class com.east.android.zlive.** { *; } \ No newline at end of file