How to publish a closed source library in jCenter?

Is it possible to publish a private SDK in jCenter? I already configured everything and loading in bintray works fine, however I want to publish the .aar library, but not java documents and java source.

I saw some libraries load empty javadoc.jar and sources.jar, how can I achieve this with gradle?

+6
source share
1 answer

Well, you can’t. JCenter accepts only OSS libraries. You can more than use your own repository. Consumers will need to add your repository to the repositories block of their assembly, but otherwise it will work the same way.


I am with JFrog , Bintray and [artifactory] , see my profile for more details and links.

+4
source

Source: https://habr.com/ru/post/988455/


All Articles