gpt4 book ai didi

gradle - 无法使用 Gradle 部署到 Bintray

转载 作者:行者123 更新时间:2023-12-03 05:05:44 25 4
gpt4 key购买 nike

对于一个存储库,当我尝试部署时突然收到 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"

关于gradle - 无法使用 Gradle 部署到 Bintray,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59334802/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com