环境:
- win10
- idea2020.1
- gradle 6.9.1
- spring-5.1.9-release
开始构建:
-
下载工具gradle 和spring源码 百度网盘 请输入提取码 txw6
-
打开cmd窗口, 进入到源码路径,执行
-
gradlew :spring-oxm:compileTestJava gradlew :spring-core:compileTestJava
-
编辑源码下构建配置文件 build.gradle,找到 repositories,将内容给替换成下面的
repositories { maven { url 'https://maven.aliyun.com/nexus/content/groups/public/' } maven { url 'https://maven.aliyun.com/nexus/content/repositories/jcenter'} maven { url "https://repo.spring.io/libs-release" } mavenLocal() }