-
Notifications
You must be signed in to change notification settings - Fork 199
Description
Hi,
In order to support publishing multiple packages from the same Gradle subproject, I have to use BintrayUploadTask directly instead of configuring the extension.
It works fine, but the artifact is not really published in the Bintray website - you have to manually go there and approve it. This is because we also need to run a BintrayPublishTask.
But currently there is no way to run BintrayPublishTask with our own BintrayUploadTask, so I have to use reflection on the publishVersion() method like so:
This is really dirty and I would like to avoid it in the long run. Can BintrayPublishTask be rewritten in such a way that it can be run on user provided BintrayUploadTask ? It could be as simple as having it accept a list of input upload tasks. If list is empty, it could fallback to the default behavior of finding tasks by name.
Without this small fix, the Bintray Gradle Plugin can literally only be used from the extension, which means one package per subproject.