when I try to run bintrayUpload, the archives is not generated unless I run publishBintrayPublicationToMavenLocal task explicitly.
However, in the source code of BintrayPlugin.groovy, I see it does try to make bintrayUpload task depends on the above publish....PublicationToMavenLocal task. But in reality it is not the case.
It turn out that I added the following to the end of the script to link the two tasks, and it work
I have the following snippet in
build.gradle
. (withgradle-bintray-plugin
version 1.8.0)when I try to run
bintrayUpload
, the archives is not generated unless I runpublishBintrayPublicationToMavenLocal
task explicitly.However, in the source code of
BintrayPlugin.groovy
, I see it does try to make bintrayUpload task depends on the abovepublish....PublicationToMavenLocal
task. But in reality it is not the case.It turn out that I added the following to the end of the script to link the two tasks, and it work
The problem is that it is a bug or a feature ;-) ?