bintray / gradle-bintray-plugin

Apache License 2.0
1.28k stars 197 forks source link

Optionally ignore failure with mavenCentralSync #285

Open tomasbjerre opened 5 years ago

tomasbjerre commented 5 years ago

I'm using the plugin with the mavenCentralSync closure to sync with central.

Problem

Sometimes the sync to central fails, but release to Bintray works fine. As I understand it it is a problem with Central and not something to do with Bintray at all. And when this happens I usually have to wait a few hours before making another attempt.

I also fails if I try to sync from Bintray.com in the web-gui. I see "Last Sync Errors: Failed to close repository: sebjurr-1928. Dropping existing partial staging repository.".

Suggestion

Add an option to mavenCentralSync to enable it to optionally fail if sync to central fails. In my case I want it not to fail the release just because central sync failed. Syncing to Central is just nice to have for me.

mockitoguy commented 4 years ago

Similar to #317