Upload artifacts to staging repository

Discover, discuss, and innovate with consumer data systems.
Post Reply
rakibhasanbd4723
Posts: 23
Joined: Mon Dec 23, 2024 3:40 am

Upload artifacts to staging repository

Post by rakibhasanbd4723 »

Close staging repository
Release staging repository
There are 3rd party tools automating this process like Shipkit. However, (at the time of writing) it is not compatible with Android library projects.

JCenter
baby meme
JCenter is a kind of superset of Maven Central numero bulgarie Everything available on the latter is also available on the former but some artifacts may be available only on JCenter. Deployment to JCenter is a little bit easier:

Sign up to Bintray
Set up Bintray Gradle plugin
Request include the package in JCenter
Once your request is approved you can update that package by just invoking Gradle task without additional reviews. You can also sync it to Maven Central. However, JCenter sometimes have availability issues which may be annoying to users.

JitPack
home

Using JitPack is as easy as a pie for library authors. Usually you don’t need to do anything besides pushing source code to remote repo on GitHub, Bitbucket, GitLab or Gitee. Adding appropriate tags will help library users since tags are directly mapped to artifact versions.

Official guideline for Android libraries states that android-maven Gradle plugin is required. However, in practice it is not mandatory as long as AAR files can be produced in a compatible way JitPack will handle it properly. See FoQA build log as a proof.
Post Reply