Gradle 6.2.2破坏了我的Bintray发布(工件名称而不是版本号) [英] Gradle 6.2.2 broke my bintray publishing (artifact names instead of version numbers)

查看:210
本文介绍了Gradle 6.2.2破坏了我的Bintray发布(工件名称而不是版本号)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

自从更新到gradle 6.2.2以来,双托盘发布变得疯狂起来. Bintray显示工件名称而不是版本号,并且该库无法使用.

Since updating to gradle 6.2.2 the bintray publishing went nuts. Bintray shows the artifact names instead of the version numbers and the library is unuseable do to this.

  • Link to the bintray library
  • Link to the build.gradle file

有人有没有经历过或者知道,为什么会这样?

Did anyone experience this or knows, why this is happening?

编辑:切换到5.6.3 gradle包装器将按预期方式上传库(无工件/版本号命名问题)

EDIT: Switching to a 5.6.3 gradle wrapper will upload the library as it is supposed to (without the artifact/version number naming issue)

推荐答案

较新的 Gradle 版本也会发布更安全的校验和.这些校验和不能被 Bintray 识别,因此它假定存在工件的另一个版本.您应该注意到所有语义版本实际上都是完整的,并且您可以删除非版本.

Newer Gradle versions publish more secure checksums as well. These checksums are not recognized by Bintray and thus it assumes, there's another version of the artifact. You should notice that all semantic versions are actually complete and that you could delete the non-versions.

要禁止发布这些校验和,可以将以下内容添加到gradle属性中.

To suppress publishing these checksums, you could add the following to your gradle properties.

systemProp.org.gradle.internal.publish.checksums.insecure=true

这篇关于Gradle 6.2.2破坏了我的Bintray发布(工件名称而不是版本号)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆