Upload to bintray silently fails for AAR

时间:2018-08-24 16:41:41

标签: android-gradle bintray

I'm using this示例,但用我自己的详细信息替换了示例

当我执行任务bintrayUpload

我得到以下日志,即使它说成功,在bintray上也没有新文件。

我该如何调试并找出失败的原因?

    17:34:07: Executing task 'bintrayUpload'...

Executing tasks: [bintrayUpload]

Configuration on demand is an incubating feature.
Configuration(s) specified but the install task does not exist in project :components.
:components:bintrayUpload: file /Users/x/Dropbox/codes/androids/x/android/android/x-components/components/build/outputs/aar/components-release.aar.asc could not be found.
:components:bintrayUpload: file /Users/x/Dropbox/codes/androids/x/android/android/x/components/build/libs/components-0.2.6-javadoc.jar.asc could not be found.
:components:bintrayUpload: file /Users/x/Dropbox/codes/androids/x/android/android/x-components/components/build/libs/components-0.2.6-sources.jar.asc could not be found.
:components:bintrayUpload: file /Users/x/Dropbox/codes/androids/x/android/android/nx-components/components/build/outputs/aar/components-release.aar.asc could not be found.
:components:bintrayUpload: file /Users/x/Dropbox/codes/androids/x/android/android/x-components/components/build/libs/components-0.2.6-javadoc.jar.asc could not be found.
:components:bintrayUpload: file /Users/x/Dropbox/codes/androids/x/x/x/x-components/components/build/libs/components-0.2.6-sources.jar.asc could not be found.
:components:bintrayUpload
Uploading to https://api.bintray.com/content/true/x/components/0.2.6/x/x/x/components/components/0.2.6/components-0.2.6.aar...
Uploading to https://api.bintray.com/content/true/x/x/0.2.6/x/x/x/components/components/0.2.6/components-0.2.6-javadoc.jar...
Uploading to https://api.bintray.com/content/true/x/components/0.2.6/x/x/x/components/components/0.2.6/components-0.2.6-sources.jar...
Uploading to https://api.bintray.com/content/true/x/x/0.2.6/uk/x/x/x/components/0.2.6/components-0.2.6.aar...
Uploading to https://api.bintray.com/content/true/x/components/0.2.6/x/x/x/components/components/0.2.6/components-0.2.6.pom...
:bintrayPublish

BUILD SUCCESSFUL in 1s
2 actionable tasks: 2 executed
17:34:09: Task execution finished 'bintrayUpload'.

1 个答案:

答案 0 :(得分:0)

在守护程序线程上运行的Gradle任务在gradle.properties文件中禁用守护程序线程,然后尝试使用--debug。

org.gradle.daemon=true
相关问题