zjupure / GlideWebpDecoder

A Glide WebpDecoder Intergration Library for decoding and displaying webp images
Apache License 2.0
747 stars 91 forks source link

Can't use repository for some reason #94

Closed AndroidDeveloperLB closed 2 years ago

AndroidDeveloperLB commented 2 years ago

I have this:

    def GLIDE_VERSION = "4.13.1"
// webpdecoder
    implementation "com.github.zjupure:webpdecoder:2.0.${GLIDE_VERSION}"
// glide 4.10.0+
    implementation "com.github.bumptech.glide:glide:${GLIDE_VERSION}"
    annotationProcessor "com.github.bumptech.glide:compiler:${GLIDE_VERSION}"

And the IDE can't find GlideApp anymore (it used to find it fine on previous version). What's weird is that I remember that 4.13.1 was available for some time, which is why I wrote this: https://github.com/zjupure/GlideWebpDecoder/issues/93

How could it be?

AndroidDeveloperLB commented 2 years ago

This still works:

    //    https://github.com/bumptech/glide https://github.com/zjupure/GlideWebpDecoder
    def GLIDE_VERSION = "4.12.0"
    implementation "com.github.zjupure:webpdecoder:2.0.${GLIDE_VERSION}"
    implementation "com.github.bumptech.glide:glide:${GLIDE_VERSION}"
    kapt "com.github.bumptech.glide:compiler:${GLIDE_VERSION}"
AndroidDeveloperLB commented 2 years ago

Seems using this again fixed it:

    def GLIDE_VERSION = "4.13.1"
    implementation "com.github.zjupure:webpdecoder:2.0.${GLIDE_VERSION}"
    implementation "com.github.bumptech.glide:glide:${GLIDE_VERSION}"
    kapt "com.github.bumptech.glide:compiler:${GLIDE_VERSION}"
AndroidDeveloperLB commented 2 years ago

Why were the guidelines here changed from kapt to annotationProcessor ?

zjupure commented 2 years ago

No problem in sample project. annotationProcessor for Java project and kapt for Kotlin project

AndroidDeveloperLB commented 2 years ago

@zjupure I see. Can you please consider changing the instructions, to mention for Kotlin vs Java? Many developers today use Kotlin on Android, maybe even most...