看日志是直接请求maven仓库的,导致依赖下载的特别慢。
随便一个springboot项目构建了40分钟
(虽然代码有问题,构建失败了,但大部分时间都是在获取依赖)
* Get more help at https://help.gradle.org
BUILD FAILED in 40m 12s
1 actionable task: 1 executed
Cleaning up project directory and file based variables
ERROR: Job failed: exit code 1
下一个最新版本中会将maven下载地址替换为国内的镜像站。
使用自己的maven私服也很慢吗