Skip to content

How to release on JCenter

Tal Kirshboim edited this page Dec 22, 2020 · 10 revisions

How to release on JCenter

This page is for the project contributors and for documentation purposes.

In order to release a new version of the library on JCenter:

  • If you have not yet done it, add you Bintray username and API Key to your ~/.gradle/local.properties file as follows:
bintray.user=myUser
bintray.apikey=myApiKey
  • Update the version in the PdCore build.gradle
  • In the repository folder run ./gradlew clean PdCore:assembleRelease && ./gradlew PdCore:bintrayUpload
  • Publish the new version on Bintray.
  • Create a release on Github and add the release .aar to it.
  • Update the documentation.

Hurra! You've just released a new version! 🎉