You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When subproject's bintrayUpload fails we're getting a partial publication on Bintray. Artifacts uploaded by subprojects with successful bintrayUpload land in Bintray. It's a significant gap, especially when the plugin publishes a partial release to Maven Central and the users are exposed to a bad release (example bad release in Maven Central caused by this bug: mockito/mockito-scala#351)
Tech note (based on my quick look): I believe this is caused by using bintrayUpload.finalizedBy(bintrayPublish). This does not work well because if bintrayUpload fails, the finalizer task still runs (it's by Gradle's finalizer task design). bintrayPublish must not publish when any of the bintrayUpload tasks fail.
Thoughts?
The text was updated successfully, but these errors were encountered:
When subproject's
bintrayUpload
fails we're getting a partial publication on Bintray. Artifacts uploaded by subprojects with successfulbintrayUpload
land in Bintray. It's a significant gap, especially when the plugin publishes a partial release to Maven Central and the users are exposed to a bad release (example bad release in Maven Central caused by this bug: mockito/mockito-scala#351)Tech note (based on my quick look): I believe this is caused by using
bintrayUpload.finalizedBy(bintrayPublish)
. This does not work well because ifbintrayUpload
fails, the finalizer task still runs (it's by Gradle's finalizer task design).bintrayPublish
must not publish when any of thebintrayUpload
tasks fail.Thoughts?
The text was updated successfully, but these errors were encountered: