dbcb721dc2
Likely related to 01a7b20655
but I am not completely sure.
I tested the app and it works well, so I think that org.mozilla.javascript.JavaToJSONConverters is not used really.
This is the full list of errors:
Missing class java.beans.BeanDescriptor (referenced from: java.lang.Object org.mozilla.javascript.JavaToJSONConverters.lambda$static$4(java.lang.Object))
Missing class java.beans.BeanInfo (referenced from: java.lang.Object org.mozilla.javascript.JavaToJSONConverters.lambda$static$4(java.lang.Object))
Missing class java.beans.IntrospectionException (referenced from: java.lang.Object org.mozilla.javascript.JavaToJSONConverters.lambda$static$4(java.lang.Object))
Missing class java.beans.Introspector (referenced from: java.lang.Object org.mozilla.javascript.JavaToJSONConverters.lambda$static$4(java.lang.Object))
Missing class java.beans.PropertyDescriptor (referenced from: java.lang.Object org.mozilla.javascript.JavaToJSONConverters.lambda$static$4(java.lang.Object))
38 lines
1.3 KiB
Prolog
38 lines
1.3 KiB
Prolog
# https://developer.android.com/build/shrink-code
|
|
|
|
## Helps debug release versions
|
|
-dontobfuscate
|
|
|
|
## Rules for NewPipeExtractor
|
|
-keep class org.schabi.newpipe.extractor.timeago.patterns.** { *; }
|
|
-keep class org.mozilla.javascript.** { *; }
|
|
-keep class org.mozilla.classfile.ClassFileWriter
|
|
-dontwarn org.mozilla.javascript.JavaToJSONConverters
|
|
-dontwarn org.mozilla.javascript.tools.**
|
|
|
|
## Rules for ExoPlayer
|
|
-keep class com.google.android.exoplayer2.** { *; }
|
|
|
|
## Rules for Icepick. Copy pasted from https://github.com/frankiesardo/icepick
|
|
-dontwarn icepick.**
|
|
-keep class icepick.** { *; }
|
|
-keep class **$$Icepick { *; }
|
|
-keepclasseswithmembernames class * {
|
|
@icepick.* <fields>;
|
|
}
|
|
-keepnames class * { @icepick.State *;}
|
|
|
|
## Rules for OkHttp. Copy pasted from https://github.com/square/okhttp
|
|
-dontwarn okhttp3.**
|
|
-dontwarn okio.**
|
|
|
|
## See https://github.com/TeamNewPipe/NewPipe/pull/1441
|
|
-keepclassmembers class * implements java.io.Serializable {
|
|
static final long serialVersionUID;
|
|
!static !transient <fields>;
|
|
private void writeObject(java.io.ObjectOutputStream);
|
|
private void readObject(java.io.ObjectInputStream);
|
|
}
|
|
|
|
## For some reason NotificationModeConfigFragment wasn't kept (only referenced in a preference xml)
|
|
-keep class org.schabi.newpipe.settings.notifications.** { *; }
|