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:

  1. should publish own both repositories, or there automated sync between them, enough publish 1 of them? if there sync, 1 primary source , when mirrored?

  2. i'd perform publish automatically gradle, using gradle plugin. there single plugin, being able work both repositories?

  1. jcenter super-set of maven-central , syncs automatically package published maven-central, artifacts published maven-central automatically synced , available in jcenter well.
  2. gradle has 2 plugins supporting publishing several repositories types, including maven-central , jcenter: (1) "legacy" maven plugin , (2) new incubating maven-publish plugin.

Comments

Popular posts from this blog

shopping cart - Page redirect not working PHP -

php - How to modify a menu to show sub-menus -

python - Installing PyDev in eclipse is failed -