电子屏项目
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 
 
 

104 řádky
3.0 KiB

  1. # Add project specific ProGuard rules here.
  2. # You can control the set of applied configuration files using the
  3. # proguardFiles setting in build.gradle.
  4. #
  5. # For more details, see
  6. # http://developer.android.com/guide/developing/tools/proguard.html
  7. # If your project uses WebView with JS, uncomment the following
  8. # and specify the fully qualified class name to the JavaScript interface
  9. # class:
  10. #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
  11. # public *;
  12. #}
  13. # Uncomment this to preserve the line number information for
  14. # debugging stack traces.
  15. #-keepattributes SourceFile,LineNumberTable
  16. # If you keep the line number information, uncomment this to
  17. # hide the original source file name.
  18. #-renamesourcefileattribute SourceFile
  19. -flattenpackagehierarchy
  20. -allowaccessmodification
  21. -keepattributes Exceptions,InnerClasses,Signature,SourceFile,LineNumberTable
  22. -dontskipnonpubliclibraryclassmembers
  23. -ignorewarnings
  24. #kotlin
  25. -keep class kotlin.Metadata { *; }
  26. -dontwarn kotlin.**
  27. -keepclassmembers class **$WhenMappings {
  28. <fields>;
  29. }
  30. -keepclassmembers class kotlin.Metadata {
  31. public <methods>;
  32. }
  33. -assumenosideeffects class kotlin.jvm.internal.Intrinsics {
  34. static void checkParameterIsNotNull(java.lang.Object, java.lang.String);
  35. }
  36. -keepclasseswithmembernames class * {
  37. native <methods>;
  38. }
  39. -keepclassmembers class * extends android.app.Activity {
  40. public void *(android.view.View);
  41. }
  42. -keepclassmembers class * implements android.os.Parcelable {
  43. public static final android.os.Parcelable$Creator *;
  44. }
  45. -keep class **.R$* {*;}
  46. -keepclassmembers enum * { *;}
  47. #Gson
  48. -keepclassmembers public class com.google.gson.**
  49. -keepclassmembers public class com.google.gson.** {public private protected *;}
  50. -keepclassmembers public class com.project.mocha_patient.login.SignResponseData { private *; }
  51. -keepclassmembers class sun.misc.Unsafe { *; }
  52. -keep @interface com.google.gson.annotations.SerializedName
  53. -keepclassmembers class * {
  54. @com.google.gson.annotations.SerializedName <fields>;
  55. }
  56. #bean
  57. -keep class com.yzx.webebook.model.** { *; }
  58. -keep class com.yzx.webebook.model.Note { *; }
  59. -keep class com.yzx.webebook.model.ac { *; }
  60. -keep class com.yzx.webebook.model.UploadBean { *; }
  61. -keep class com.yzx.webebook.model.UploadContent { *; }
  62. -keep class **$Properties {*;}
  63. #Glide
  64. -keep public class * implements com.bumptech.glide.module.GlideModule
  65. -keep public class * extends com.bumptech.glide.module.AppGlideModule
  66. -keep public enum com.bumptech.glide.load.ImageHeaderParser$** {
  67. **[] $VALUES;
  68. public *;
  69. }
  70. # for DexGuard only
  71. #-keepresourcexmlelements manifest/application/meta-data@value=GlideModule
  72. -dontwarn com.bumptech.glide.**
  73. # ProGuard configurations for Bugtags
  74. -keepattributes LineNumberTable,SourceFile
  75. -dontwarn com.bugtags.library.**
  76. -dontwarn io.bugtags.**
  77. -dontwarn org.apache.http.**
  78. -dontwarn android.net.http.AndroidHttpClient
  79. -keep class com.umeng.** {*;}
  80. -keepclassmembers class * {
  81. public <init> (org.json.JSONObject);
  82. }
  83. -keepclassmembers enum * {
  84. public static **[] values();
  85. public static ** valueOf(java.lang.String);
  86. }