Skip to content

Commit

Permalink
Merge pull request #4875 from Goooler:readme
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 469081755
  • Loading branch information
glide-copybara-robot committed Aug 22, 2022
2 parents 842c6b0 + 79e726e commit e9791e8
Showing 1 changed file with 2 additions and 19 deletions.
21 changes: 2 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,26 +54,9 @@ Or Maven:

For info on using the bleeding edge, see the [Snapshots][17] docs page.

ProGuard
R8 / Proguard
--------
Depending on your ProGuard (DexGuard) config and usage, you may need to include the following lines in your proguard.cfg (see the [Download and Setup docs page][25] for more details):

```pro
-keep public class * implements com.bumptech.glide.module.GlideModule
-keep class * extends com.bumptech.glide.module.AppGlideModule {
<init>(...);
}
-keep public enum com.bumptech.glide.load.ImageHeaderParser$** {
**[] $VALUES;
public *;
}
-keep class com.bumptech.glide.load.data.ParcelFileDescriptorRewinder$InternalRewinder {
*** rewind();
}
# for DexGuard only
-keepresourcexmlelements manifest/application/meta-data@value=GlideModule
```
The specific rules are [already bundled](library/proguard-rules.txt) into the aar which can be interpreted by R8 automatically

How do I use Glide?
-------------------
Expand Down

0 comments on commit e9791e8

Please sign in to comment.