Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moving from JCenter to MavenCentral or JitPack #191

Open
jarekankowski opened this issue Feb 6, 2021 · 8 comments
Open

Moving from JCenter to MavenCentral or JitPack #191

jarekankowski opened this issue Feb 6, 2021 · 8 comments

Comments

@jarekankowski
Copy link

jarekankowski commented Feb 6, 2021

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!

@jarekankowski jarekankowski changed the title Moving from JCenter to MavenCentral Moving from JCenter to MavenCentral or JitPack Feb 6, 2021
@wasabeef
Copy link
Owner

wasabeef commented Feb 12, 2021

@jarekankowski

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

@jarekankowski
Copy link
Author

jarekankowski commented Feb 16, 2021

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
Copy link
Owner

@jarekankowski

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

This is only used when follows,

  • When I want to upload to Bintray JCenter until the service end.
  • When I'm using com.android.tools.build:gradle:4.2.0-beta04 because that plugin require
    com.android.tools.build:gradle:4.2.0-beta04 > com.android.tools.build:builder:4.2.0-beta04 > com.android.tools:sdk-common:27.2.0-beta04 > trove4j-20160824.

@jarekankowski
Copy link
Author

Awesome, thanks!

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

jcenter {
  content {
    includeModule("org.jetbrains.trove4j", "trove4j")
  }
}

@wasabeef
Copy link
Owner

@jarekankowski
Thank you so much!

@Untame1
Copy link

Untame1 commented May 12, 2021

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
Copy link

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants