gradle - Publishing OSS library release to jcenter and maven-central -
i'd publish oss library available in both jcenter , maven-central repositories. have 2 questions related topic:
should publish own both repositories, or there automated sync between them, enough publish 1 of them? if there sync, 1 primary source , when mirrored?
i'd perform publish automatically gradle, using gradle plugin. there single plugin, being able work both repositories?
- jcenter super-set of maven-central , syncs automatically package published maven-central, artifacts published maven-central automatically synced , available in jcenter well.
- gradle has 2 plugins supporting publishing several repositories types, including maven-central , jcenter: (1) "legacy" maven plugin , (2) new incubating maven-publish plugin.
Comments
Post a Comment