fullProguardConfig.pro 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368
  1. # The proguard configuration file for the following section is F:\Work_Space\Wechat_workSpace\reader_plugin\android\plugin\build\intermediates\proguard-files\proguard-android-optimize.txt-4.1.3
  2. # This is a configuration file for ProGuard.
  3. # http://proguard.sourceforge.net/index.html#manual/usage.html
  4. #
  5. # Starting with version 2.2 of the Android plugin for Gradle, this file is distributed together with
  6. # the plugin and unpacked at build-time. The files in $ANDROID_HOME are no longer maintained and
  7. # will be ignored by new version of the Android plugin for Gradle.
  8. # Optimizations: If you don't want to optimize, use the proguard-android.txt configuration file
  9. # instead of this one, which turns off the optimization flags.
  10. # Adding optimization introduces certain risks, since for example not all optimizations performed by
  11. # ProGuard works on all versions of Dalvik. The following flags turn off various optimizations
  12. # known to have issues, but the list may not be complete or up to date. (The "arithmetic"
  13. # optimization can be used if you are only targeting Android 2.0 or later.) Make sure you test
  14. # thoroughly if you go this route.
  15. -optimizations !code/simplification/arithmetic,!code/simplification/cast,!field/*,!class/merging/*
  16. -optimizationpasses 5
  17. -allowaccessmodification
  18. -dontusemixedcaseclassnames
  19. -dontskipnonpubliclibraryclasses
  20. -verbose
  21. # Preserve some attributes that may be required for reflection.
  22. -keepattributes *Annotation*,Signature,InnerClasses,EnclosingMethod
  23. -keep public class com.google.vending.licensing.ILicensingService
  24. -keep public class com.android.vending.licensing.ILicensingService
  25. -keep public class com.google.android.vending.licensing.ILicensingService
  26. -dontnote com.android.vending.licensing.ILicensingService
  27. -dontnote com.google.vending.licensing.ILicensingService
  28. -dontnote com.google.android.vending.licensing.ILicensingService
  29. # For native methods, see http://proguard.sourceforge.net/manual/examples.html#native
  30. -keepclasseswithmembernames,includedescriptorclasses class * {
  31. native <methods>;
  32. }
  33. # Keep setters in Views so that animations can still work.
  34. -keepclassmembers public class * extends android.view.View {
  35. void set*(***);
  36. *** get*();
  37. }
  38. # We want to keep methods in Activity that could be used in the XML attribute onClick.
  39. -keepclassmembers class * extends android.app.Activity {
  40. public void *(android.view.View);
  41. }
  42. # For enumeration classes, see http://proguard.sourceforge.net/manual/examples.html#enumerations
  43. -keepclassmembers enum * {
  44. public static **[] values();
  45. public static ** valueOf(java.lang.String);
  46. }
  47. -keepclassmembers class * implements android.os.Parcelable {
  48. public static final ** CREATOR;
  49. }
  50. # Preserve annotated Javascript interface methods.
  51. -keepclassmembers class * {
  52. @android.webkit.JavascriptInterface <methods>;
  53. }
  54. # The support libraries contains references to newer platform versions.
  55. # Don't warn about those in case this app is linking against an older
  56. # platform version. We know about them, and they are safe.
  57. -dontnote android.support.**
  58. -dontnote androidx.**
  59. -dontwarn android.support.**
  60. -dontwarn androidx.**
  61. # This class is deprecated, but remains for backward compatibility.
  62. -dontwarn android.util.FloatMath
  63. # Understand the @Keep support annotation.
  64. -keep class android.support.annotation.Keep
  65. -keep class androidx.annotation.Keep
  66. -keep @android.support.annotation.Keep class * {*;}
  67. -keep @androidx.annotation.Keep class * {*;}
  68. -keepclasseswithmembers class * {
  69. @android.support.annotation.Keep <methods>;
  70. }
  71. -keepclasseswithmembers class * {
  72. @androidx.annotation.Keep <methods>;
  73. }
  74. -keepclasseswithmembers class * {
  75. @android.support.annotation.Keep <fields>;
  76. }
  77. -keepclasseswithmembers class * {
  78. @androidx.annotation.Keep <fields>;
  79. }
  80. -keepclasseswithmembers class * {
  81. @android.support.annotation.Keep <init>(...);
  82. }
  83. -keepclasseswithmembers class * {
  84. @androidx.annotation.Keep <init>(...);
  85. }
  86. # These classes are duplicated between android.jar and org.apache.http.legacy.jar.
  87. -dontnote org.apache.http.**
  88. -dontnote android.net.http.**
  89. # These classes are duplicated between android.jar and core-lambda-stubs.jar.
  90. -dontnote java.lang.invoke.**
  91. # End of content from F:\Work_Space\Wechat_workSpace\reader_plugin\android\plugin\build\intermediates\proguard-files\proguard-android-optimize.txt-4.1.3
  92. # The proguard configuration file for the following section is F:\Work_Space\Wechat_workSpace\reader_plugin\android\plugin\proguard-rules.pro
  93. -printconfiguration build/outputs/fullProguardConfig.pro
  94. -dontshrink
  95. # End of content from F:\Work_Space\Wechat_workSpace\reader_plugin\android\plugin\proguard-rules.pro
  96. # The proguard configuration file for the following section is F:\Work_Space\Wechat_workSpace\reader_plugin\android\plugin\build\intermediates\aapt_proguard_file\release\aapt_rules.txt
  97. # Generated by the gradle plugin
  98. -keep class com.donut.plugin.activity.MainProcessActivity { <init>(...); }
  99. -keep class com.donut.plugin.activity.PermissionsActivity { <init>(...); }
  100. # End of content from F:\Work_Space\Wechat_workSpace\reader_plugin\android\plugin\build\intermediates\aapt_proguard_file\release\aapt_rules.txt
  101. # The proguard configuration file for the following section is C:\Users\candy\.gradle\caches\transforms-2\files-2.1\24252e9d32bfb7bbe2fc4ae1320ad0ca\material-1.0.0\proguard.txt
  102. # Copyright (C) 2015 The Android Open Source Project
  103. #
  104. # Licensed under the Apache License, Version 2.0 (the "License");
  105. # you may not use this file except in compliance with the License.
  106. # You may obtain a copy of the License at
  107. #
  108. # http://www.apache.org/licenses/LICENSE-2.0
  109. #
  110. # Unless required by applicable law or agreed to in writing, software
  111. # distributed under the License is distributed on an "AS IS" BASIS,
  112. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  113. # See the License for the specific language governing permissions and
  114. # limitations under the License.
  115. # CoordinatorLayout resolves the behaviors of its child components with reflection.
  116. -keep public class * extends androidx.coordinatorlayout.widget.CoordinatorLayout$Behavior {
  117. public <init>(android.content.Context, android.util.AttributeSet);
  118. public <init>();
  119. }
  120. # Make sure we keep annotations for CoordinatorLayout's DefaultBehavior
  121. -keepattributes *Annotation*
  122. # End of content from C:\Users\candy\.gradle\caches\transforms-2\files-2.1\24252e9d32bfb7bbe2fc4ae1320ad0ca\material-1.0.0\proguard.txt
  123. # The proguard configuration file for the following section is C:\Users\candy\.gradle\caches\transforms-2\files-2.1\95ca15ec93309cc9cc950afc1dc3a51c\recyclerview-1.0.0\proguard.txt
  124. # Copyright (C) 2015 The Android Open Source Project
  125. #
  126. # Licensed under the Apache License, Version 2.0 (the "License");
  127. # you may not use this file except in compliance with the License.
  128. # You may obtain a copy of the License at
  129. #
  130. # http://www.apache.org/licenses/LICENSE-2.0
  131. #
  132. # Unless required by applicable law or agreed to in writing, software
  133. # distributed under the License is distributed on an "AS IS" BASIS,
  134. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  135. # See the License for the specific language governing permissions and
  136. # limitations under the License.
  137. # When layoutManager xml attribute is used, RecyclerView inflates
  138. #LayoutManagers' constructors using reflection.
  139. -keep public class * extends androidx.recyclerview.widget.RecyclerView$LayoutManager {
  140. public <init>(android.content.Context, android.util.AttributeSet, int, int);
  141. public <init>();
  142. }
  143. # End of content from C:\Users\candy\.gradle\caches\transforms-2\files-2.1\95ca15ec93309cc9cc950afc1dc3a51c\recyclerview-1.0.0\proguard.txt
  144. # The proguard configuration file for the following section is C:\Users\candy\.gradle\caches\transforms-2\files-2.1\d37116f996a98f4be2a59256b515c2fa\appcompat-1.0.0\proguard.txt
  145. # Copyright (C) 2018 The Android Open Source Project
  146. #
  147. # Licensed under the Apache License, Version 2.0 (the "License");
  148. # you may not use this file except in compliance with the License.
  149. # You may obtain a copy of the License at
  150. #
  151. # http://www.apache.org/licenses/LICENSE-2.0
  152. #
  153. # Unless required by applicable law or agreed to in writing, software
  154. # distributed under the License is distributed on an "AS IS" BASIS,
  155. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  156. # See the License for the specific language governing permissions and
  157. # limitations under the License.
  158. # Ensure that reflectively-loaded inflater is not obfuscated. This can be
  159. # removed when we stop supporting AAPT1 builds.
  160. -keepnames class androidx.appcompat.app.AppCompatViewInflater
  161. # aapt is not able to read app::actionViewClass and app:actionProviderClass to produce proguard
  162. # keep rules. Add a commonly used SearchView to the keep list until b/109831488 is resolved.
  163. -keep class androidx.appcompat.widget.SearchView { <init>(...); }
  164. # End of content from C:\Users\candy\.gradle\caches\transforms-2\files-2.1\d37116f996a98f4be2a59256b515c2fa\appcompat-1.0.0\proguard.txt
  165. # The proguard configuration file for the following section is C:\Users\candy\.gradle\caches\transforms-2\files-2.1\dc421bcf41a01193e53cc2504ee980f1\vectordrawable-animated-1.0.0\proguard.txt
  166. # Copyright (C) 2016 The Android Open Source Project
  167. #
  168. # Licensed under the Apache License, Version 2.0 (the "License");
  169. # you may not use this file except in compliance with the License.
  170. # You may obtain a copy of the License at
  171. #
  172. # http://www.apache.org/licenses/LICENSE-2.0
  173. #
  174. # Unless required by applicable law or agreed to in writing, software
  175. # distributed under the License is distributed on an "AS IS" BASIS,
  176. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  177. # See the License for the specific language governing permissions and
  178. # limitations under the License.
  179. # keep setters in VectorDrawables so that animations can still work.
  180. -keepclassmembers class androidx.vectordrawable.graphics.drawable.VectorDrawableCompat$* {
  181. void set*(***);
  182. *** get*();
  183. }
  184. # End of content from C:\Users\candy\.gradle\caches\transforms-2\files-2.1\dc421bcf41a01193e53cc2504ee980f1\vectordrawable-animated-1.0.0\proguard.txt
  185. # The proguard configuration file for the following section is C:\Users\candy\.gradle\caches\transforms-2\files-2.1\971baffc4a75353005e06f53e84ef35d\transition-1.0.0\proguard.txt
  186. # Copyright (C) 2017 The Android Open Source Project
  187. #
  188. # Licensed under the Apache License, Version 2.0 (the "License");
  189. # you may not use this file except in compliance with the License.
  190. # You may obtain a copy of the License at
  191. #
  192. # http://www.apache.org/licenses/LICENSE-2.0
  193. #
  194. # Unless required by applicable law or agreed to in writing, software
  195. # distributed under the License is distributed on an "AS IS" BASIS,
  196. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  197. # See the License for the specific language governing permissions and
  198. # limitations under the License.
  199. # Keep a field in transition that is used to keep a reference to weakly-referenced object
  200. -keepclassmembers class androidx.transition.ChangeBounds$* extends android.animation.AnimatorListenerAdapter {
  201. androidx.transition.ChangeBounds$ViewBounds mViewBounds;
  202. }
  203. # End of content from C:\Users\candy\.gradle\caches\transforms-2\files-2.1\971baffc4a75353005e06f53e84ef35d\transition-1.0.0\proguard.txt
  204. # The proguard configuration file for the following section is C:\Users\candy\.gradle\caches\transforms-2\files-2.1\5795b53fd7da81afcd5019f1bd020468\coordinatorlayout-1.0.0\proguard.txt
  205. # Copyright (C) 2016 The Android Open Source Project
  206. #
  207. # Licensed under the Apache License, Version 2.0 (the "License");
  208. # you may not use this file except in compliance with the License.
  209. # You may obtain a copy of the License at
  210. #
  211. # http://www.apache.org/licenses/LICENSE-2.0
  212. #
  213. # Unless required by applicable law or agreed to in writing, software
  214. # distributed under the License is distributed on an "AS IS" BASIS,
  215. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  216. # See the License for the specific language governing permissions and
  217. # limitations under the License.
  218. # CoordinatorLayout resolves the behaviors of its child components with reflection.
  219. -keep public class * extends androidx.coordinatorlayout.widget.CoordinatorLayout$Behavior {
  220. public <init>(android.content.Context, android.util.AttributeSet);
  221. public <init>();
  222. }
  223. # Make sure we keep annotations for CoordinatorLayout's DefaultBehavior and ViewPager's DecorView
  224. -keepattributes *Annotation*
  225. # End of content from C:\Users\candy\.gradle\caches\transforms-2\files-2.1\5795b53fd7da81afcd5019f1bd020468\coordinatorlayout-1.0.0\proguard.txt
  226. # The proguard configuration file for the following section is C:\Users\candy\.gradle\caches\transforms-2\files-2.1\27b2ffeb0a208cab6bd365fe9336b54b\lifecycle-process-2.2.0\proguard.txt
  227. # this rule is need to work properly when app is compiled with api 28, see b/142778206
  228. -keepclassmembers class * extends androidx.lifecycle.EmptyActivityLifecycleCallbacks { *; }
  229. # End of content from C:\Users\candy\.gradle\caches\transforms-2\files-2.1\27b2ffeb0a208cab6bd365fe9336b54b\lifecycle-process-2.2.0\proguard.txt
  230. # The proguard configuration file for the following section is C:\Users\candy\.gradle\caches\transforms-2\files-2.1\22780b7a3557170bfcf46f23dca138e6\core-1.1.0\proguard.txt
  231. # aapt2 is not (yet) keeping FQCNs defined in the appComponentFactory <application> attribute
  232. -keep class androidx.core.app.CoreComponentFactory
  233. # End of content from C:\Users\candy\.gradle\caches\transforms-2\files-2.1\22780b7a3557170bfcf46f23dca138e6\core-1.1.0\proguard.txt
  234. # The proguard configuration file for the following section is C:\Users\candy\.gradle\caches\transforms-2\files-2.1\8a396767ab58f55a34f93b5890deb0ba\lifecycle-runtime-2.2.0\proguard.txt
  235. -keepattributes *Annotation*
  236. -keepclassmembers enum androidx.lifecycle.Lifecycle$Event {
  237. <fields>;
  238. }
  239. -keep !interface * implements androidx.lifecycle.LifecycleObserver {
  240. }
  241. -keep class * implements androidx.lifecycle.GeneratedAdapter {
  242. <init>(...);
  243. }
  244. -keepclassmembers class ** {
  245. @androidx.lifecycle.OnLifecycleEvent *;
  246. }
  247. # this rule is need to work properly when app is compiled with api 28, see b/142778206
  248. -keepclassmembers class androidx.lifecycle.ReportFragment$LifecycleCallbacks { *; }
  249. # End of content from C:\Users\candy\.gradle\caches\transforms-2\files-2.1\8a396767ab58f55a34f93b5890deb0ba\lifecycle-runtime-2.2.0\proguard.txt
  250. # The proguard configuration file for the following section is C:\Users\candy\.gradle\caches\transforms-2\files-2.1\b1d29a84c883aa1e9ef79f7a6275abb3\lifecycle-viewmodel-savedstate-1.0.0\proguard.txt
  251. -keepclassmembers,allowobfuscation class * extends androidx.lifecycle.ViewModel {
  252. <init>(androidx.lifecycle.SavedStateHandle);
  253. }
  254. -keepclassmembers,allowobfuscation class * extends androidx.lifecycle.AndroidViewModel {
  255. <init>(android.app.Application,androidx.lifecycle.SavedStateHandle);
  256. }
  257. # End of content from C:\Users\candy\.gradle\caches\transforms-2\files-2.1\b1d29a84c883aa1e9ef79f7a6275abb3\lifecycle-viewmodel-savedstate-1.0.0\proguard.txt
  258. # The proguard configuration file for the following section is C:\Users\candy\.gradle\caches\transforms-2\files-2.1\8508e2ba9e814e78a2b0790b0a076590\savedstate-1.0.0\proguard.txt
  259. # Copyright (C) 2019 The Android Open Source Project
  260. #
  261. # Licensed under the Apache License, Version 2.0 (the "License");
  262. # you may not use this file except in compliance with the License.
  263. # You may obtain a copy of the License at
  264. #
  265. # http://www.apache.org/licenses/LICENSE-2.0
  266. #
  267. # Unless required by applicable law or agreed to in writing, software
  268. # distributed under the License is distributed on an "AS IS" BASIS,
  269. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  270. # See the License for the specific language governing permissions and
  271. # limitations under the License.
  272. -keepclassmembers,allowobfuscation class * implements androidx.savedstate.SavedStateRegistry$AutoRecreated {
  273. <init>();
  274. }
  275. # End of content from C:\Users\candy\.gradle\caches\transforms-2\files-2.1\8508e2ba9e814e78a2b0790b0a076590\savedstate-1.0.0\proguard.txt
  276. # The proguard configuration file for the following section is C:\Users\candy\.gradle\caches\transforms-2\files-2.1\fa60316c892666e6488d6b5af63f73db\lifecycle-viewmodel-2.2.0\proguard.txt
  277. -keepclassmembers,allowobfuscation class * extends androidx.lifecycle.ViewModel {
  278. <init>();
  279. }
  280. -keepclassmembers,allowobfuscation class * extends androidx.lifecycle.AndroidViewModel {
  281. <init>(android.app.Application);
  282. }
  283. # End of content from C:\Users\candy\.gradle\caches\transforms-2\files-2.1\fa60316c892666e6488d6b5af63f73db\lifecycle-viewmodel-2.2.0\proguard.txt
  284. # The proguard configuration file for the following section is C:\Users\candy\.gradle\caches\transforms-2\files-2.1\ba71d9bb5f4d44b76be2f931d279b0e8\versionedparcelable-1.1.0\proguard.txt
  285. -keep public class * implements androidx.versionedparcelable.VersionedParcelable
  286. -keep public class android.support.**Parcelizer { *; }
  287. -keep public class androidx.**Parcelizer { *; }
  288. -keep public class androidx.versionedparcelable.ParcelImpl
  289. # End of content from C:\Users\candy\.gradle\caches\transforms-2\files-2.1\ba71d9bb5f4d44b76be2f931d279b0e8\versionedparcelable-1.1.0\proguard.txt
  290. # The proguard configuration file for the following section is C:\Users\candy\.gradle\caches\transforms-2\files-2.1\411d427d2612b4c03a26177668845b48\rules\lib\META-INF\proguard\androidx-annotations.pro
  291. -keep,allowobfuscation @interface androidx.annotation.Keep
  292. -keep @androidx.annotation.Keep class * {*;}
  293. -keepclasseswithmembers class * {
  294. @androidx.annotation.Keep <methods>;
  295. }
  296. -keepclasseswithmembers class * {
  297. @androidx.annotation.Keep <fields>;
  298. }
  299. -keepclasseswithmembers class * {
  300. @androidx.annotation.Keep <init>(...);
  301. }
  302. # End of content from C:\Users\candy\.gradle\caches\transforms-2\files-2.1\411d427d2612b4c03a26177668845b48\rules\lib\META-INF\proguard\androidx-annotations.pro
  303. # The proguard configuration file for the following section is <unknown>
  304. -ignorewarnings
  305. -keep class **.R
  306. -keep class **.R$* {*;}
  307. # End of content from <unknown>