proguard-rules.pro 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. -optimizationpasses 0
  2. -dontusemixedcaseclassnames
  3. -dontskipnonpubliclibraryclasses
  4. -dontskipnonpubliclibraryclassmembers
  5. -dontpreverify
  6. -dontoptimize
  7. -verbose
  8. -printmapping proguardMapping.txt
  9. -optimizations !code/simplification/cast,!field/*,!class/merging/*
  10. -keepattributes *Annotation*,InnerClasses
  11. -keepattributes EnclosingMethod, InnerClasses
  12. -keepattributes *Annotation*
  13. -keepattributes Signature
  14. -keepattributes LineNumberTable
  15. -renamesourcefileattribute SourceFile
  16. -obfuscationdictionary build/obfuscation-dictionary.txt
  17. -classobfuscationdictionary build/class-dictionary.txt
  18. -packageobfuscationdictionary build/package-dictionary.txt
  19. -flattenpackagehierarchy com.github.catvod.spider.merge
  20. -repackageclasses com.github.catvod.spider.merge
  21. -dontwarn okio.**
  22. -keep class okio.**{*;}
  23. -dontwarn com.squareup.okhttp.**
  24. -dontwarn okhttp3.**
  25. -keep class okhttp3.**{*;}
  26. -dontwarn com.google.**
  27. -keep class com.google.**{*;}
  28. -dontwarn com.android.**
  29. -keep class com.android.**{*;}
  30. -dontwarn rxhttp.**
  31. -keep class rxhttp.**{*;}
  32. -dontwarn kotlin.**
  33. -keep class kotlin.**{*;}
  34. -dontwarn kotlinx.**
  35. -keep class kotlinx.**{*;}
  36. -keep class com.github.catvod.crawler.* { *; }
  37. -keep class com.github.catvod.spider.* { public <methods>; }
  38. -keep class com.github.catvod.parser.* { public <methods>; }