Closed mduesterhoeft closed 6 years ago
I can reproduce the issue by setting the dryRun
flag on the bintray
configuration.
bintray {
//...
dryRun = true
//...
}
With this setting running ./gradlew publish
yields the same error as mentioned above.
If only one bintrayUpload is added to the publish task in the top-level build.gradle
it works fine:
//publish.dependsOn(':restdocs-wiremock:bintrayUpload')
publish.dependsOn(':wiremock-spring-boot-starter:bintrayUpload')
Fixed with #58
When a release build runs on travis afterwards there is an artifact for
restdocs-wiremock
but not forwiremock-spring-boot-starter
.After adding info logs for the publish task I see the following exception in the logs:
see https://travis-ci.org/ePages-de/restdocs-wiremock/builds/298611378
Executing
./gradlew :wiremock-spring-boot-starter:bintrayUpload
locally works fine