Publish java_export target without sources jar
bertschneider opened this issue · comments
Norbert Schneider commented
Is there a way to publish a java_export
target without its sources jar?
Locally I patched the current version so that targets can be tagged with no-sources
, similar to no-javadocs
, but wonder if there's another solution. If you like I can provide that change as PR.
Simon Stewart commented
For things like Maven Central, the source jars are required, and there's never been a case where uploading them has been detrimental, but if you have a use case, I'll happily review that PR.
Norbert Schneider commented
The use-case is to distribute a close source library/application via an access restricted repository. I created the mentioned (small) PR.