Skip to content

Commit

Permalink
Add consumerProguardFiles configuration. Fixes bumptech#646
Browse files Browse the repository at this point in the history
  • Loading branch information
vanniktech committed Nov 22, 2015
1 parent 4f159aa commit 84daeb7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ android {

versionCode VERSION_CODE as int
versionName VERSION_NAME as String

consumerProguardFiles 'proguard-rules.txt'
}

buildTypes {
Expand Down
5 changes: 5 additions & 0 deletions library/proguard-rules.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
-keep public class * implements com.bumptech.glide.module.GlideModule
-keep public enum com.bumptech.glide.load.resource.bitmap.ImageHeaderParser$** {
**[] $VALUES;
public *;
}

0 comments on commit 84daeb7

Please sign in to comment.