mirror of
https://github.com/TeamNewPipe/NewPipe.git
synced 2024-11-22 02:53:09 +01:00
Add icepicker proguard rules
This commit is contained in:
parent
60879351a9
commit
69302fcbd0
10
app/proguard-rules.pro
vendored
10
app/proguard-rules.pro
vendored
@ -25,3 +25,13 @@
|
|||||||
-dontwarn org.mozilla.javascript.tools.**
|
-dontwarn org.mozilla.javascript.tools.**
|
||||||
-dontwarn android.arch.util.paging.CountedDataSource
|
-dontwarn android.arch.util.paging.CountedDataSource
|
||||||
-dontwarn android.arch.persistence.room.paging.LimitOffsetDataSource
|
-dontwarn android.arch.persistence.room.paging.LimitOffsetDataSource
|
||||||
|
|
||||||
|
|
||||||
|
# Rules for icepick. Copy paste from https://github.com/frankiesardo/icepick
|
||||||
|
-dontwarn icepick.**
|
||||||
|
-keep class icepick.** { *; }
|
||||||
|
-keep class **$$Icepick { *; }
|
||||||
|
-keepclasseswithmembernames class * {
|
||||||
|
@icepick.* <fields>;
|
||||||
|
}
|
||||||
|
-keepnames class * { @icepick.State *;}
|
||||||
|
Loading…
Reference in New Issue
Block a user