unmock-plugin icon indicating copy to clipboard operation
unmock-plugin copied to clipboard

JCenter is Shutting Down

Open sewar opened this issue 4 years ago • 6 comments

JCenter is shutting down soon, please publish unmock to Maven Central

More details at https://chris.banes.dev/publishing-to-maven-central/

sewar avatar Feb 15 '21 15:02 sewar

Thanks for raising this issue - originally I considered using GitHub packages but probably Central is more convenient for the users.

I requested to add unmock to Maven Central - that will take some time and I'm not sure how the domain verification will work since the groupId here is de.mobilej but my domain is mobile-j.de - hope to get this solved since I guess changing the groupId is the same hassle for users as it would be to add a GitHub packages repository.

bjoernQ avatar Feb 15 '21 16:02 bjoernQ

Thanks for the quick response!

GitHub Packages requires auth token even for public packages which is a big hassle.

Hopefully Maven Central accept it regardless of the small difference.

Changing groupId in a few .gradle files is no big deal IMO, compared to RxJava/OkHttp version upgrades where it's hundreds of affected files.

Another option is Gradle Plugin Portal.

sewar avatar Feb 15 '21 17:02 sewar

I haven't heard anything about my opened ticket - maybe they are very busy because JCenter is shutting down

I will wait a few days more and if I don't hear anything I will go for the Plugin Portal

bjoernQ avatar Feb 22 '21 14:02 bjoernQ

Is there any news on this? I've tried to upgrade to the 0.7.8 version for the Gradle version support but can't seem to find it on MavenCentral.

rwslinkman avatar May 06 '21 11:05 rwslinkman

Should be available on Central: https://search.maven.org/search?q=a:unmockplugin

Please note that the the group id had to be changed in order to publish on Central:

buildscript {
    repositories {
        mavenCentral()
    }
    
    dependencies {
        classpath 'com.github.bjoernq:unmockplugin:0.7.6'
    }
}

bjoernQ avatar May 06 '21 13:05 bjoernQ

Thanks for pointing out the changed group id. I had missed that.

rwslinkman avatar May 06 '21 13:05 rwslinkman