Skip to content

Migrate Android library Gradle project from OSSRH to Central Sonatype

Summary

Help to migrate Kotlin based Android Library from OSSRH to Central sonatype. As per the guidelines I am not able to see any documentation for Gradle project.

Description

As per the Central sonatype documentation, there is no explanation regards to Gradle projects. Link: https://central.sonatype.org/publish/publish-portal-gradle/

Help me out to address the migration part for Kotlin based Gradle android library project. Currently in project I am using nexusPublishing library to publish the build to ossrh.

nexusPublishing { packageGroup = "org.eclipse.ecsp" repositories { sonatype { username = System.getenv("CENTRAL_SONATYPE_USERNAME") password = System.getenv("CENTRAL_SONATYPE_PASSWORD") nexusUrl.set(uri("https://oss.sonatype.org/service/local/")) } } }

here the uri which I am not sure what I need to use for central sonatype.

Priority

  • Urgent
  • High
  • Medium
  • Low

Severity

  • Blocker
  • Major
  • Normal
  • Low
Edited by Dileep Hemachandran