
gradle upload 任务发布版本

错误日志
Execution failed for task ':uploadArchives'.
> Could not publish configuration 'archives'
> Must specify a repository for deployment
解决
之前 gradle.properties 文件中配置了如下,注释掉了能够发布版本了
## 加快编译打包
## 编译时使用守护进程
#org.gradle.daemon=true
##使用并行编译
#org.gradle.parallel=true
#org.gradle.configureondemand=true
本文讲述了在使用Gradle进行版本发布时遇到的错误,即'archives'配置未指定仓库,如何通过移除gradle.properties中的部分配置来解决此问题。
1815

被折叠的 条评论
为什么被折叠?



