You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.
--- +++ @@ -400,7 +400,7 @@
Don't forget to add a dependency on Glide's annotation processor to your build.gradle file as well:
```groovy
-annotationProcessor 'com.github.bumptech.glide:compiler:4.6.1'+annotationProcessor 'com.github.bumptech.glide:compiler:4.5.0'
```
Next we want to get at Glide's [``Registry``][23], so we'll implement the [``registerComponents``][24] method in our ``AppGlideModule``:
--- +++ @@ -12,7 +12,7 @@
### Android SDK Requirements
**Minimum SDK Version** - Glide requires a minimum SDK version of **14** (Ice Cream Sandwich) or higher.
-**Compile SDK Version** - Glide must be compiled against SDK version **27** (Oreo MR1) or higher.+**Compile SDK Version** - Glide must be compiled against SDK version **26** (Oreo) or higher.
**Support Library Version** - Glide uses support library version **27**.
@@ -20,7 +20,7 @@
```groovy
dependencies {
- implementation ("com.github.bumptech.glide:glide:4.6.1") {+ implementation ("com.github.bumptech.glide:glide:4.5.0") {
exclude group: "com.android.support"
}
implementation "com.android.support:support-fragment:26.1.0"
@@ -57,8 +57,8 @@
}
dependencies {
- compile 'com.github.bumptech.glide:glide:4.6.1'- annotationProcessor 'com.github.bumptech.glide:compiler:4.6.1'+ compile 'com.github.bumptech.glide:glide:4.5.0'+ annotationProcessor 'com.github.bumptech.glide:compiler:4.5.0'
}
```
@@ -66,7 +66,7 @@
```groovy
dependencies {
- implementation ("com.github.bumptech.glide:glide:4.6.1@aar") {+ implementation ("com.github.bumptech.glide:glide:4.5.0@aar") {
transitive = true
}
}
@@ -98,7 +98,7 @@
<dependency>
<groupId>com.github.bumptech.glide</groupId>
<artifactId>glide</artifactId>
- <version>4.6.1</version>+ <version>4.5.0</version>
<type>aar</type>
</dependency>
<dependency>
@@ -109,7 +109,7 @@
<dependency>
<groupId>com.github.bumptech.glide</groupId>
<artifactId>compiler</artifactId>
- <version>4.6.1</version>+ <version>4.5.0</version>
<optional>true</optional>
</dependency>
```
@@ -203,19 +203,11 @@
```
-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.ImageHeaderParser$** {+-keep public enum com.bumptech.glide.load.resource.bitmap.ImageHeaderParser$** {
**[] $VALUES;
public *;
}
-If you're targeting any API level less than Android API 27, also include:-```pro--dontwarn com.bumptech.glide.load.resource.bitmap.VideoDecoder-```-VideoDecoder uses API 27 APIs which may cause proguard warnings even though the newer APIs won't be called on devices with older versions of Android.--If you use DexGuard you may also want to include:-```pro
# for DexGuard only
-keepresourcexmlelements manifest/application/meta-data@value=GlideModule
```
@@ -234,7 +226,7 @@
```groovy
dependencies {
- kapt 'com.github.bumptech.glide:compiler:4.6.1'+ kapt 'com.github.bumptech.glide:compiler:4.5.0'
}
```
Note that you must also include the ``kotlin-kapt`` plugin in your ``build.gradle`` file:
--- +++ @@ -17,7 +17,7 @@
Then add a Gradle dependency on the Volley integration library:
```groovy
-compile "com.github.bumptech.glide:volley-integration:4.6.1"+compile "com.github.bumptech.glide:volley-integration:4.5.0"
```
Adding a Gradle dependency on the Volley integration library will cause Glide to start automatically using Volley to load images for all http and https urls.
--- +++ @@ -33,8 +33,8 @@
Including Glide's annotation processor requires dependencies on Glide's annotations and the annotation processor:
```groovy
-compile 'com.github.bumptech.glide:annotations:4.6.1'-annotationProcessor 'com.github.bumptech.glide:compiler:4.6.1'+compile 'com.github.bumptech.glide:annotations:4.5.0'+annotationProcessor 'com.github.bumptech.glide:compiler:4.5.0'
```
Finally, you should keep AppGlideModule implementations in your ``proguard.cfg``:
@@ -65,7 +65,7 @@
Using the [``@GlideModule``][5] annotation requires a dependency on Glide's annotations:
```groovy
-compile 'com.github.bumptech.glide:annotations:4.6.1'+compile 'com.github.bumptech.glide:annotations:4.5.0'
```
##### Avoid AppGlideModule in libraries
--- +++ @@ -17,7 +17,7 @@
Then add a Gradle dependency on the OkHttp integration library:
```groovy
-compile "com.github.bumptech.glide:okhttp3-integration:4.6.1"+compile "com.github.bumptech.glide:okhttp3-integration:4.5.0"
```
Adding a Gradle dependency on the OkHttp integration library will cause Glide to start automatically using OkHttp to load all images from http and https urls.
--- +++ @@ -21,7 +21,7 @@
To use the RecyclerView integration library, add a dependency on it in your ``build.gradle`` file:
```groovy
-compile ("com.github.bumptech.glide:recyclerview-integration:4.6.1") {+compile ("com.github.bumptech.glide:recyclerview-integration:4.5.0") {
// Excludes the support library because it's already included by Glide.
transitive = false
}
--- +++ @@ -45,13 +45,13 @@
```groovy
implementation com.squareup.okhttp3:okhttp:3.9.1
-implementation com.github.bumptech.glide:okhttp-integration:4.6.1+implementation com.github.bumptech.glide:okhttp-integration:4.5.0
```
For more control, you can also exclude the OkHttp from the transitive dependencies of the ``okhttp-integration`` library:
```groovy
-implementation (com.github.bumptech.glide:okhttp-integration:4.6.1) {+implementation (com.github.bumptech.glide:okhttp-integration:4.5.0) {
exclude group: com.squareup.okhttp3, module: okhttp
}
```
@@ -59,7 +59,7 @@
Or you could simply exclude all transitive dependencies of the ``okhttp-integration`` library:
```groovy
-implementation (com.github.bumptech.glide:okhttp-integration:4.6.1) {+implementation (com.github.bumptech.glide:okhttp-integration:4.5.0) {
transitive = false
}
```
The text was updated successfully, but these errors were encountered:
概述
此 Issue 由 Sync Robot 自动创建,详情请参见 #6 。
本次扫描结果: 新增:1 , 修改: 11, 删除: 0。
文件变化列表
文件具体变更信息如下(仅展示UPDATED):
The text was updated successfully, but these errors were encountered: