wasabeef / glide-transformations

An Android transformation library providing a variety of image transformations for Glide.
Apache License 2.0
9.9k stars 1.41k forks source link

Moving from JCenter to MavenCentral or JitPack #191

Open jarekankowski opened 3 years ago

jarekankowski commented 3 years ago

Hey! Any plans to migrate to MavenCentral or JitPack as JCenter will be sunset on May 1st, 2021?

Useful hints on the migration process can be found here.

Thanks!

wasabeef commented 3 years ago

@jarekankowski

Thanks for the issue. Just now I uploaded the latest version (4.3.0) to Maven Central.

jarekankowski commented 3 years ago

Amazing, thank you so much for jumping straight into this! It looks like in build.gradle there are still some dependencies on JCenter. Wouldn't these be a problem in the future? If not, I think we can close this issue 🙂

wasabeef commented 3 years ago

@jarekankowski

Actually, there is no need to set jcenter() for glide-transformations users.

This is only used when follows,

jarekankowski commented 3 years ago

Awesome, thanks!

FYI if you'd like to restrict access of JCenter to only trove4j:

jcenter {
  content {
    includeModule("org.jetbrains.trove4j", "trove4j")
  }
}
wasabeef commented 3 years ago

@jarekankowski Thank you so much!

Untame1 commented 3 years ago

Hi, is it also possible to upload version 4.2.0 for those of us targeting a minSdk lower than 21 (which 4.3.0 requires).

Much appreciated!

Sdghasemi commented 2 years ago

For @Untame1 and anyone else looking for v4.2.0, use Jitpack build of the library with this dependency:

dependencies {
    implementation 'com.github.wasabeef:glide-transformations:4.2.0'
}

Don't forget to add Jitpack address to your repositories:

allprojects {
    repositories {
        ...
        maven { url 'https://jitpack.io' }
    }
}
prvaghasiya commented 2 years ago

Any plan to move 2.0.2 to mavencentral? I am still using Glide 3