Skip to content
This repository was archived by the owner on Oct 26, 2025. It is now read-only.

Conversation

@akexorcist
Copy link

@akexorcist akexorcist commented Nov 5, 2022

What's changes

Deploy the library to MavenCentral

001

Manual Deployment

  • Create local.properties at root project
  • Add your credentials in local.properties
  • Don't worry, this file was ignored from Git (see .gitignore)

ossrhUsername=<username>
ossrhPassword=<password>
  • Use ./gradlew clean build to build the library
  • Use ./gradlew publish to publish the library to Sonatype
  • Go to OSS Sonatype - Repository to accept your library package
  • Wait for 1-10 minutes then refresh your library package to deploy it
  • All done

Deploy with Travis CI

See Solid CI with GitHub, TravisCI and Sonatype Nexus

Use https://s01.oss.sonatype.org instead of https://oss.sonatype.org


Feel free to ask me if you have a problem about library publishing

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant