Skip to content

Commit

Permalink
bump version 2.5 for static webp sampler update
Browse files Browse the repository at this point in the history
  • Loading branch information
zjupure committed Oct 1, 2023
1 parent 2af0ae1 commit 07ef39c
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 15 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ GlideWebpDecoder is a [Glide](https://github.com/bumptech/glide) integration lib

Library is available in MavenCentral. If you build with Gradle, just add the following dependencies to your `build.gradle` file.
Different Glide version is corresponding to different GlideWebpDecoder due to the annotation processor compatibility. The version rule of GlideWebpDecoder is "{major_version}.{glide_version}".
For example, if you use glide 4.16.0, the corresponding version of GlideWebpDecoder should be 2.4.4.16.0
For example, if you use glide 4.16.0, the corresponding version of GlideWebpDecoder should be 2.5.4.16.0

Library will only follow the latest three version of Glide. If you use a lower version glide, please clone the project and modify it yourself.

Expand All @@ -40,7 +40,7 @@ If your project use old library version below 2.0, you should upgrade the librar
```gradle
def GLIDE_VERSION = "4.16.0"
// webpdecoder
implementation "com.github.zjupure:webpdecoder:2.4.${GLIDE_VERSION}"
implementation "com.github.zjupure:webpdecoder:2.5.${GLIDE_VERSION}"
// glide 4.10.0+
implementation "com.github.bumptech.glide:glide:${GLIDE_VERSION}"
annotationProcessor "com.github.bumptech.glide:compiler:${GLIDE_VERSION}"
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ buildscript {
classpath "com.android.tools.build:gradle:${ANDROID_GRADLE_VERSION}"
classpath "org.kt3k.gradle.plugin:coveralls-gradle-plugin:${COVERALLS_GRADLE_VERSION}"
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.1'
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.4.1'
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
}
}

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ org.gradle.daemon=true
org.gradle.configureondemand=false
org.gradle.jvmargs=-Xmx2048M

DECODER_VERSION=2.4
DECODER_VERSION=2.5
GROUP=com.github.zjupure

POM_DESCRIPTION=A Glide webp decoder intergration library for decoding and displaying webp images.
Expand Down
21 changes: 10 additions & 11 deletions scripts/upload.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -225,17 +225,16 @@ afterEvaluate { project ->
// exclude '**/R$*.class'
// baseName "${JAR_PREFIX}${project.name}${JAR_POSTFIX}"
// }

artifacts {
// archives androidLibraryJar
archives androidSourcesJar
archives androidJavadocsJar
// This is unnecessary with a release variant because by default the release variant
// includes the release aar in archives. Since we've disabled our release variants and
// want to include an aar, we need to manually specify the task that produces the aar
// here.
archives project.tasks.bundleDebugAar
}
// artifacts {
// // archives androidLibraryJar
// archives androidSourcesJar
// archives androidJavadocsJar
// // This is unnecessary with a release variant because by default the release variant
// // includes the release aar in archives. Since we've disabled our release variants and
// // want to include an aar, we need to manually specify the task that produces the aar
// // here.
// archives project.tasks.bundleDebugAar
// }
} else if (project.plugins.hasPlugin('java')) {
task sourcesJar(type: Jar, dependsOn: classes) {
classifier = 'sources'
Expand Down

0 comments on commit 07ef39c

Please sign in to comment.