Skip to content

Commit

Permalink
upgrade glide support version to 4.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
huzhenjie committed Jan 24, 2018
1 parent 30fcfc5 commit 5ca1a66
Show file tree
Hide file tree
Showing 6 changed files with 150 additions and 82 deletions.
2 changes: 2 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
buildscript {
repositories {
jcenter()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.1'
Expand All @@ -15,6 +16,7 @@ buildscript {
allprojects {
repositories {
jcenter()
google()
}
}

Expand Down
4 changes: 3 additions & 1 deletion richtext/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,7 @@ dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.4.0'
compile 'com.github.bumptech.glide:glide:3.7.0' // Glide

compile 'com.github.bumptech.glide:glide:4.3.0' // Glide
annotationProcessor 'com.github.bumptech.glide:compiler:4.3.0'
}
10 changes: 10 additions & 0 deletions richtext/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,13 @@
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}

-keep public class * implements com.bumptech.glide.module.GlideModule
-keep public class * extends com.bumptech.glide.module.AppGlideModule
-keep public enum com.bumptech.glide.load.resource.bitmap.ImageHeaderParser$** {
**[] $VALUES;
public *;
}

# for DexGuard only
-keepresourcexmlelements manifest/application/meta-data@value=GlideModule
Loading

0 comments on commit 5ca1a66

Please sign in to comment.