Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't add android library to JCenter

I am trying to publish the library to JCenter with Bintray, according to this article: https://medium.com/@anitaa_1990/6-easy-steps-to-upload-your-android-library-to-bintray-jcenter-59e6030c8890.

I successfully added the library to Bintray, but when I click on "Add to JCenter" button and send compose message - I am getting an error:

Failed to send a message: Package should include sources as part of the package.

Please, tell me what am I doing wrong?

like image 953
Andrii Chernysh Avatar asked Dec 16 '18 14:12

Andrii Chernysh


1 Answers

Your Bintray Maven Package doesn't contain the sources, only .aar and the .pom. The in the blog post isn't linked to JCenter, see blog's package here.

Bintray's wiki states that you have to include the sources.

I would use this blog post or this one, where the packages are actually linked to JCenter.

like image 165
Royg Avatar answered Nov 13 '22 02:11

Royg