1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2025-05-09 19:04:07 +00:00

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:
TobiGr 2025-03-16 21:39:55 +01:00 committed by Stypox
parent 8407b5aefd
commit ef068e1eca
No known key found for this signature in database
GPG Key ID: 4BDF1B40A49FDD23

View File

@ -5,10 +5,17 @@
## Rules for NewPipeExtractor
-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.engine.** { *; }
-keep class org.mozilla.classfile.ClassFileWriter
-dontwarn org.mozilla.javascript.JavaToJSONConverters
-dontwarn org.mozilla.javascript.tools.**
-keep class javax.script.** { *; }
-dontwarn javax.script.**
-keep class jdk.dynalink.** { *; }
-dontwarn jdk.dynalink.**
## Rules for ExoPlayer
-keep class com.google.android.exoplayer2.** { *; }