lib-proguard-rules.pro 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. # Add project specific ProGuard rules here.
  2. # By default, the flags in this file are appended to flags specified
  3. # in D:\Users\Administrator\AppData\Local\Android\sdk/tools/proguard/proguard-android.txt
  4. # You can edit the include path and order by changing the proguardFiles
  5. # directive in build.gradle.
  6. #
  7. # For more details, see
  8. # http://developer.android.com/guide/developing/tools/proguard.html
  9. # Add any project specific keep options here:
  10. # If your project uses WebView with JS, uncomment the following
  11. # and specify the fully qualified class name to the JavaScript interface
  12. # class:
  13. #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
  14. # public *;
  15. #}
  16. # Uncomment this to preserve the line number information for
  17. # debugging stack traces.
  18. #-keepattributes SourceFile,LineNumberTable
  19. # If you keep the line number information, uncomment this to
  20. # hide the original source file name.
  21. #-renamesourcefileattribute SourceFile
  22. -ignorewarnings
  23. -dontwarn okio.**
  24. -dontwarn com.google.common.cache.**
  25. -dontwarn java.nio.file.**
  26. -dontwarn sun.misc.**
  27. -keep class android.support.v4.** { *; }
  28. -keep class android.support.v7.** { *; }
  29. -keep class okhttp3.** { *; }
  30. -keep class com.bumptech.glide.integration.okhttp3.** { *; }
  31. -keep class com.liulishuo.filedownloader.** { *; }
  32. -keep class java.nio.file.** { *; }
  33. -keep class sun.misc.** { *; }
  34. -keep class com.qu.preview.** { *; }
  35. -keep class com.qu.mp4saver.** { *; }
  36. -keep class com.duanqu.transcode.** { *; }
  37. -keep class com.duanqu.qupai.render.** { *; }
  38. -keep class com.duanqu.qupai.player.** { *; }
  39. -keep class com.duanqu.qupai.audio.** { *; }
  40. -keep class com.aliyun.qupai.encoder.** { *; }
  41. -keep class com.sensetime.stmobile.** { *; }
  42. -keep class com.duanqu.qupai.yunos.** { *; }
  43. -keep class com.aliyun.common.** { *; }
  44. -keep class com.aliyun.jasonparse.** { *; }
  45. -keep class com.aliyun.struct.** { *; }
  46. -keep class com.aliyun.recorder.AliyunRecorderCreator { *; }
  47. -keep class com.aliyun.recorder.supply.** { *; }
  48. -keep class com.aliyun.querrorcode.** { *; }
  49. -keep class com.qu.preview.callback.** { *; }
  50. -keep class com.aliyun.qupaiokhttp.** { *; }
  51. -keep class com.aliyun.crop.AliyunCropCreator { *; }
  52. -keep class com.aliyun.crop.struct.CropParam { *; }
  53. -keep class com.aliyun.crop.supply.** { *; }
  54. -keep class com.aliyun.qupai.editor.pplayer.AnimPlayerView { *; }
  55. -keep class com.aliyun.qupai.editor.impl.AliyunEditorFactory { *; }
  56. -keep interface com.aliyun.qupai.editor.** { *; }
  57. -keep interface com.aliyun.qupai.import_core.AliyunIImport { *; }
  58. -keep class com.aliyun.qupai.import_core.AliyunImportCreator { *; }
  59. -keep class com.aliyun.qupai.encoder.** { *; }
  60. -keep class com.aliyun.leaktracer.** { *;}
  61. -keep class com.duanqu.qupai.adaptive.** { *; }
  62. -keep class com.aliyun.thumbnail.** { *;}
  63. -keep class com.aliyun.svideo.media.MediaCache { *;}
  64. -keep class com.aliyun.svideo.media.MediaDir { *;}
  65. -keep class com.aliyun.svideo.media.MediaInfo { *;}
  66. -keep class com.alivc.component.encoder.**{ *;}
  67. -keep class com.alivc.component.decoder.**{ *;}
  68. -keep class com.aliyun.log.core.AliyunLogCommon { *;}
  69. -keep class com.aliyun.log.core.AliyunLogger { *;}
  70. -keep class com.aliyun.log.core.AliyunLogParam { *;}
  71. -keep class com.aliyun.log.core.LogService { *;}
  72. -keep class com.aliyun.log.struct.** { *;}
  73. -keep class com.aliyun.svideo.editor.publish.SecurityTokenInfo { *; }
  74. -keep class com.aliyun.vod.common.** { *; }
  75. -keep class com.aliyun.vod.jasonparse.** { *; }
  76. -keep class com.aliyun.vod.qupaiokhttp.** { *; }
  77. -keep class com.aliyun.vod.log.core.AliyunLogCommon { *;}
  78. -keep class com.aliyun.vod.log.core.AliyunLogger { *;}
  79. -keep class com.aliyun.vod.log.core.AliyunLogParam { *;}
  80. -keep class com.aliyun.vod.log.core.LogService { *;}
  81. -keep class com.aliyun.vod.log.struct.** { *;}
  82. -keep class com.aliyun.auth.core.**{*;}
  83. -keep class com.aliyun.auth.common.AliyunVodHttpCommon{*;}
  84. -keep class com.alibaba.sdk.android.vod.upload.exception.**{*;}
  85. -keep class com.alibaba.sdk.android.vod.upload.auth.**{*;}
  86. -keep class com.aliyun.auth.model.**{*;}
  87. -keep class component.alivc.com.facearengine.** {*;}
  88. -keep class com.aliyun.editor.NativeEditor{*;}
  89. -keep class com.aliyun.nativerender.BitmapGenerator{*;}
  90. -keep class com.aliyun.editor.EditorCallBack{*;}
  91. -keep enum com.aliyun.editor.TimeEffectType{*;}
  92. -keep enum com.aliyun.editor.EffectType{*;}
  93. -keep class **.R$* { *; }
  94. -keep class com.aliyun.svideo.sdk.internal.common.project.**{*;}
  95. -keep class com.aliyun.svideo.sdk.external.struct.**{*;}
  96. -keep class com.aliyun.sys.AlivcSdkCore{*;}
  97. ## Event Bus
  98. -keepattributes *Annotation*
  99. -keepclassmembers class ** {
  100. @org.greenrobot.eventbus.Subscribe <methods>;
  101. }
  102. -keep enum org.greenrobot.eventbus.ThreadMode { *; }
  103. # Only required if you use AsyncExecutor
  104. -keepclassmembers class * extends org.greenrobot.eventbus.util.ThrowableFailureEvent {
  105. <init>(java.lang.Throwable);
  106. }