Reputation: 752
I am developing a paid third party lib for android. I wanted to know how to exclude "sources.jar" and "javadocs.jar" automatic upload to maven.
Is it still okay to upload commercial lib there? I have not found much info related to commercial use.
Edit: I am using Chris banes gradle script to upload to maven. https://chris.banes.me/2013/08/27/pushing-aars-to-maven-central/
Upvotes: 1
Views: 332
Reputation: 29912
There are a number of technical and legal requirements.
The technical requirements include javadoc and sources files to be included.
Generally it is NOT possible to upload commercial libraries. Please read the terms in detail and potentially contact a lawyer.
Upvotes: 1
Reputation: 97409
To push libraries to Maven Central here: http://central.sonatype.org/ you will find all the necessary information.
Upvotes: 0