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

Migration to mavenCentral() #301

Closed
abhishekBansal opened this issue Feb 11, 2021 · 6 comments
Closed

Migration to mavenCentral() #301

abhishekBansal opened this issue Feb 11, 2021 · 6 comments

Comments

@abhishekBansal
Copy link

As JCenter has decided to drop curtains on its services, are there any plans to move to mavenCentral() in near future?

@diosmosis
Copy link
Member

diosmosis commented Feb 11, 2021

EDIT: apologies, apparently I am misinformed

@JJSarrasin
Copy link

Same here, by using Gradle 7.0, it displayed a big warning saying Jcenter is already shutdown and the jcenter() support in AS will be removed with gradle 8.0

The RepositoryHandler.jcenter() method has been deprecated. This is scheduled to be removed in Gradle 8.0. JFrog announced JCenter's shutdown in February 2021. Use mavenCentral() instead. Consult the upgrading guide for further information: https://docs.gradle.org/7.0/userguide/upgrading_version_6.html#jcenter_deprecation

@hannesa2
Copy link
Collaborator

hannesa2 commented May 30, 2021

When I remove jcenter() by
image

I run into

   > Could not find org.matomo.sdk:tracker:4.1.2.
     Required by:
         project :app > project :commonLib

But there is an easy solution https://jitpack.io/#matomo-org/matomo-sdk-android/v4.1.2

allprojects {
  repositories {
    ...
    maven { url 'https://jitpack.io' }
  }
}

and

dependencies {
  implementation 'com.github.matomo-org:matomo-sdk-android:v4.1.2'
}

@d4rken
Copy link
Member

d4rken commented Aug 2, 2021

I'll leave this open as the final goal would be to setup mavenCentral, but for now we can remove jcenter and go with JitPack.

@jaypi95
Copy link

jaypi95 commented Dec 3, 2021

The URL in the quick start part of the README should be updated too to com.github.matomo-org:matomo-sdk-android instead of org.matomo.sdk:tracker

Same for the part in the wiki.

d4rken added a commit that referenced this issue Dec 3, 2021
Fix repo URL, see #301 301
@d4rken
Copy link
Member

d4rken commented Dec 3, 2021

Thanks, fixed.

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

No branches or pull requests

6 participants