DEV Community

Discussion on: No-bullshit guide on publishing your Gradle projects to Maven Central

Collapse
 
dovydasvenckus profile image
Dovydas Venckus

Thanks for in-depth explanation.

Just published my first artifact to mavenCentral. And it was still painful :D.

Also sonatype urls have changed for users registered after 2021 February.

E.g:

nexusPublishing {
    repositories {
        sonatype {
            nexusUrl = uri('https://s01.oss.sonatype.org/service/local/')
            snapshotRepositoryUrl = uri("https://s01.oss.sonatype.org/content/repositories/snapshots/")
            username = "$ossrhUsername"
            password = "$ossrhPassword"
        }
    }
}
Enter fullscreen mode Exit fullscreen mode
Collapse
 
madhead profile image
madhead

Thanks for the update, included in the article!