Is it possible to publish a private SDK to jCenter? I already set up everything and the upload to bintray works fine, however I want to publish the .aar library but not the java docs and the java source.
I've seen some libraries upload an empty javadoc.jar and sources.jar, how do I achieve this with gradle?
Well, you can't.
JCenter only accepts OSS libraries.
You're more than welcome to use your own repository for it. The consumers will need to add your repository in the repositories
block of their build, but otherwise it will work exactly the same.
I am with JFrog, the company behind Bintray and [artifactory], see my profile for details and links.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With