簡體   English   中英

無法使用 Gradle 部署到 Bintray

[英]Unable to deploy to Bintray with Gradle

對於一個存儲庫,當我嘗試部署時突然收到 409 錯誤:

* What went wrong:
Execution failed for task ':bintrayUpload'.
> Could not upload to 'https://api.bintray.com/content/serenity/maven/serenity-cucumber4/1.0.24/property(class java/lang/String, map(provider(?)))/property(class java.lang.String, map(provider(?)))/property(class java.lang.String, map(provider(?)))/property(class java.lang.String, map(provider(?)))-property(class java.lang.String, map(provider(?)))-sources.jar': HTTP/1.1 409 Conflict [message:Unable to upload files: An artifact with the path 'property(class java/lang/String, map(provider(?)))/property(class java.lang.String, map(provider(?)))/property(class java.lang.String, map(provider(?)))/property(class java.lang.String, map(provider(?)))-property(class java.lang.String, map(provider(?)))-sources.jar' already exists under another version]

該構建使用 Gradle,並且已經使用並運行良好幾年。 相同的構建過程目前適用於其他類似的模塊。

有沒有人遇到過類似的問題?

我昨天也遇到了這個問題,

"property(class java/lang/String, map(provider(?)))/property(class java.lang.String, map(provider(?)))/property(class java.lang.String, map(provider() ?)))/property(class java.lang.String, map(provider(?)))-property(class java.lang.String, map(provider(?)))"

我剛剛遇到這個問題,我的解決方案是,添加這一行

 classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4"

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM