Update NewPipe Extractor and add new proguard rules
New rules are required since Rhino and Rhino Engine 1.8.0
This commit is contained in:
parent
aa0c74b55b
commit
96e8a7e4f9
2 changed files with 8 additions and 1 deletions
|
|
@ -208,7 +208,7 @@ dependencies {
|
||||||
implementation 'com.github.TeamNewPipe:nanojson:1d9e1aea9049fc9f85e68b43ba39fe7be1c1f751'
|
implementation 'com.github.TeamNewPipe:nanojson:1d9e1aea9049fc9f85e68b43ba39fe7be1c1f751'
|
||||||
// WORKAROUND: if you get errors with the NewPipeExtractor dependency, replace `v0.24.3` with
|
// WORKAROUND: if you get errors with the NewPipeExtractor dependency, replace `v0.24.3` with
|
||||||
// the corresponding commit hash, since JitPack is sometimes buggy
|
// the corresponding commit hash, since JitPack is sometimes buggy
|
||||||
implementation 'com.github.TeamNewPipe:NewPipeExtractor:9f83b385a'
|
implementation 'com.github.TeamNewPipe:NewPipeExtractor:0b99100db'
|
||||||
implementation 'com.github.TeamNewPipe:NoNonsense-FilePicker:5.0.0'
|
implementation 'com.github.TeamNewPipe:NoNonsense-FilePicker:5.0.0'
|
||||||
|
|
||||||
/** Checkstyle **/
|
/** Checkstyle **/
|
||||||
|
|
|
||||||
7
app/proguard-rules.pro
vendored
7
app/proguard-rules.pro
vendored
|
|
@ -5,10 +5,17 @@
|
||||||
|
|
||||||
## Rules for NewPipeExtractor
|
## Rules for NewPipeExtractor
|
||||||
-keep class org.schabi.newpipe.extractor.timeago.patterns.** { *; }
|
-keep class org.schabi.newpipe.extractor.timeago.patterns.** { *; }
|
||||||
|
## Rules for Rhino and Rhino Engine
|
||||||
|
-keep class org.mozilla.javascript.* { *; }
|
||||||
-keep class org.mozilla.javascript.** { *; }
|
-keep class org.mozilla.javascript.** { *; }
|
||||||
|
-keep class org.mozilla.javascript.engine.** { *; }
|
||||||
-keep class org.mozilla.classfile.ClassFileWriter
|
-keep class org.mozilla.classfile.ClassFileWriter
|
||||||
-dontwarn org.mozilla.javascript.JavaToJSONConverters
|
-dontwarn org.mozilla.javascript.JavaToJSONConverters
|
||||||
-dontwarn org.mozilla.javascript.tools.**
|
-dontwarn org.mozilla.javascript.tools.**
|
||||||
|
-keep class javax.script.** { *; }
|
||||||
|
-dontwarn javax.script.**
|
||||||
|
-keep class jdk.dynalink.** { *; }
|
||||||
|
-dontwarn jdk.dynalink.**
|
||||||
|
|
||||||
## Rules for ExoPlayer
|
## Rules for ExoPlayer
|
||||||
-keep class com.google.android.exoplayer2.** { *; }
|
-keep class com.google.android.exoplayer2.** { *; }
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue