Android 库上传到Bintray遇到很多问题,请各位帮帮忙看下问题

我不加apply plugin: 'maven-publish',报如下错误:

Error:Execution failed for task ':EasyAndroid:bintrayUpload'.

Extension of type 'PublishingExtension' does not exist. Currently registered extension types: [DefaultExtraPropertiesExtension, DefaultArtifactPublicationSet_Decorated, ReportingExtension_Decorated, LibraryExtension_Decorated, BintrayExtension_Decorated]

加了之后,上述错误没有了,但是出现这个问题。我翻墙了还是报错

bintrayUpload'. java.net.SocketException: Software caused connection abort: socket write error

我使用这个:apply plugin: 'com.novoda.bintray-release',依然报错

bintrayUpload: Could not find publication: release.
(虽然下句提示succeed,但是到Bintray查看,只有个空版本,什么都没上传上去)
bintrayUpload: SUCCEED

我的代码上传到这里: https://github.com/ayvytr/easyandroid,请有时间的或者碰到这个问题已经解决了的,帮我破一下这些问题,谢谢各位大神了!

你可能感兴趣的:(Android 库上传到Bintray遇到很多问题,请各位帮帮忙看下问题)