Install GlideWebpDecoder via Gradle
masterGlideWebpDecoder is available on Maven Central. To integrate it, add mavenCentral() to your repositories and include the dependency in your build.gradle.
Version Matching Rule:
The version of webpdecoder must correspond to your glide version using the pattern {major_version}.{glide_version}. For example, if you use Glide 4.16.0, use webpdecoder:2.7.4.16.0.
Compatibility Notes:
- AndroidX: Since Glide 4.10.0, AndroidX is required.
webpdecoderversions1.6.{GLIDE_VERSION}and above support AndroidX and require Glide 4.10.0 or higher. - Legacy Versions: If you use a Glide version lower than 4.10.0, you must clone the project and modify it manually, as the library only follows the latest three Glide versions.
def GLIDE_VERSION = "4.16.0"
// webpdecoder
implementation "com.github.zjupure:webpdecoder:2.7.${GLIDE_VERSION}"
// glide 4.10.0+
implementation "com.github.bumptech.glide:glide:${GLIDE_VERSION}"
annotationProcessor "com.github.bumptech.glide:compiler:${GLIDE_VERSION}"